Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pd client tls and use table driven tests to cover tls case #1454

Merged
merged 5 commits into from
Dec 31, 2019

Conversation

cofyc
Copy link
Contributor

@cofyc cofyc commented Dec 31, 2019

What problem does this PR solve?

fixes #1450

What is changed and how does it work?

  • fix pd client tls bug
  • use table driven tests to cover tls case (more extensible)

Check List

Tests

  • Unit test
  • E2E test

Values: map[string]string{
"enableTLSCluster": "true",
},
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can add more to cover various configurations of cluster

@cofyc
Copy link
Contributor Author

cofyc commented Dec 31, 2019

/run-e2e-test

aylei
aylei previously approved these changes Dec 31, 2019
Copy link
Contributor

@aylei aylei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

Yisaer
Yisaer previously approved these changes Dec 31, 2019
Copy link
Contributor

@Yisaer Yisaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Yisaer
Copy link
Contributor

Yisaer commented Dec 31, 2019

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Dec 31, 2019

Your auto merge job has been accepted, waiting for 1414

AstroProfundis
AstroProfundis previously approved these changes Dec 31, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Dec 31, 2019

/run-all-tests

1 similar comment
@sre-bot
Copy link
Contributor

sre-bot commented Dec 31, 2019

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Dec 31, 2019

@cofyc merge failed.

@cofyc cofyc dismissed stale reviews from AstroProfundis, Yisaer, and aylei via 7a0b3e7 December 31, 2019 11:20
@cofyc cofyc force-pushed the fix1450 branch 2 times, most recently from ea46677 to d9a38d7 Compare December 31, 2019 11:29
Copy link
Contributor

@aylei aylei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@Yisaer Yisaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Yisaer Yisaer merged commit 86ea694 into pingcap:master Dec 31, 2019
@cofyc cofyc mentioned this pull request Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TLS e2e test fails
5 participants