Skip to content

Add flaky annotation to flaky tests #1558

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

Merged
merged 2 commits into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public void testBlockingIterationMethodsChangeStream() {
}

@DisplayName("6. GridFS Upload - uploads via openUploadStream can be timed out")
@Test
@FlakyTest(maxAttempts = 3)
public void testGridFSUploadViaOpenUploadStreamTimeout() {
assumeTrue(serverVersionAtLeast(4, 4));
long rtt = ClusterFixture.getPrimaryRTT();
Expand Down Expand Up @@ -461,7 +461,7 @@ public void test8ServerSelectionHandshake(final String ignoredTestName, final in

@SuppressWarnings("try")
@DisplayName("9. End Session. The timeout specified via the MongoClient timeoutMS option")
@Test
@FlakyTest(maxAttempts = 3)
public void test9EndSessionClientTimeout() {
assumeTrue(serverVersionAtLeast(4, 4));
assumeFalse(isStandalone());
Expand Down