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

[CBT] Retry flaky tests #6541

Merged
merged 7 commits into from
Apr 27, 2023
Merged

[CBT] Retry flaky tests #6541

merged 7 commits into from
Apr 27, 2023

Conversation

ergo14
Copy link
Contributor

@ergo14 ergo14 commented Apr 23, 2023

No description provided.

@changelog-app
Copy link

changelog-app bot commented Apr 23, 2023

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

[CBT] Retry flaky tests

Check the box to generate changelog(s)

  • Generate changelog entry

Copy link
Contributor

@jeremyk-91 jeremyk-91 left a comment

Choose a reason for hiding this comment

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

I think we can simplify the annotations for LWVIT, unless you've chosen those specific test methods for a reason!

@@ -128,6 +128,7 @@ public void before() {
LockWatchIntegrationTestUtilities.awaitTableWatched(txnManager, TABLE_REF);
}

@ShouldRetry
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you can put this at the class-level? (It seems like this is on almost all if not all the methods.) You can override this to be 15 specifically on that one test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is already on this class which I've missed!

Overriding to 15 for all tests given that it retries for all the tests

Comment on lines +53 to 56
@ShouldRetry
@Test
public void dynamicRandomColumns() {
ThreadLocalRandom random = ThreadLocalRandom.current();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

According to circle, this succeeds 80% of the time

Copy link
Contributor

@jeremyk-91 jeremyk-91 left a comment

Choose a reason for hiding this comment

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

👍

@bulldozer-bot bulldozer-bot bot merged commit 355775c into develop Apr 27, 2023
@bulldozer-bot bulldozer-bot bot deleted the aaflakes branch April 27, 2023 15:35
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.

None yet

3 participants