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

session: migrate test-infra to testify for isolation_test.go #29018

Closed
wants to merge 5 commits into from

Conversation

tisonkun
Copy link
Contributor

This closes #28324 .

Release note

None

@ti-chi-bot
Copy link
Member

[REVIEW NOTIFICATION]

This pull request has not been approved.

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 21, 2021
This closes pingcap#28324 .

Signed-off-by: tison <wander4096@gmail.com>

func (s *testSessionSuiteBase) SetUpSuite(c *C) {
testleak.BeforeTest()
func createTestSuite(assert func(error), s *testSessionSuiteBase) *testSessionSuiteBase {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

temporary work around, will clean up after session tests migrated.

@tisonkun
Copy link
Contributor Author

/cc @morgo @djshow832

Signed-off-by: tison <wander4096@gmail.com>
@ti-chi-bot ti-chi-bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 22, 2021
wg.Add(1)
go func() {
func SubTestP0DirtyWrite(s *testSessionSuiteBase) func(*testing.T) {
return func(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are almost indents.

@tisonkun
Copy link
Contributor Author

ping @morgo @djshow832

The CI failure cannot reproduce locally, can you please help on looking into it?

@tisonkun
Copy link
Contributor Author

It seems related to pingcap-qe/ci settings.

Signed-off-by: tison <wander4096@gmail.com>
@tisonkun
Copy link
Contributor Author

Sorry I cannot handle the withTiKV part. Will try to add a PR to factor out setup/teardown suite logic first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate test-infra to testify for session/isolation_test.go
2 participants