Skip to content

TOOLS-4278 Remove the last GoConvey from the repo - #1088

Draft
autarch wants to merge 1 commit into
TOOLS-4278-convey-to-testify-mongodump-2from
TOOLS-4278-convey-to-testify-mongodump-3
Draft

TOOLS-4278 Remove the last GoConvey from the repo#1088
autarch wants to merge 1 commit into
TOOLS-4278-convey-to-testify-mongodump-2from
TOOLS-4278-convey-to-testify-mongodump-3

Conversation

@autarch

@autarch autarch commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Converts TestFailDuringResharding and drops the goconvey dot-import from
mongodump_test.go, which was the last one anywhere in mongo-tools.

This function has no Reset, but GoConvey still re-ran the outer block per
leaf, so each scenario got its own MongoDump. Sharing one across the
subtests breaks five of the six, because Dump() closes the instance's
session provider. The construction moves into a helper that each subtest
calls.

35 assertions before and after, counting the six that were already
testify and the two t.Fatalf calls.

These subtests need -tags failpoints. Without it the no-op failpoint
manager compiles in, DefaultManager.Get always returns false, and three
of them fail with nothing to indicate why. The same applies to
TestMongoDumpTOOLS2498. With the tag the package is green.

Converts TestFailDuringResharding and drops the goconvey dot-import from
mongodump_test.go, which was the last one anywhere in mongo-tools.

This function has no Reset, but GoConvey still re-ran the outer block per
leaf, so each scenario got its own MongoDump. Sharing one across the
subtests breaks five of the six, because Dump() closes the instance's
session provider. The construction moves into a helper that each subtest
calls.

35 assertions before and after, counting the six that were already
testify and the two t.Fatalf calls.

These subtests need -tags failpoints. Without it the no-op failpoint
manager compiles in, DefaultManager.Get always returns false, and three
of them fail with nothing to indicate why. The same applies to
TestMongoDumpTOOLS2498. With the tag the package is green.

autarch commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant