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

[BUG] Flaky test SegmentReplicationStatsIT.testSegmentReplicationStatsResponse #6261

Closed
ashking94 opened this issue Feb 9, 2023 · 1 comment · Fixed by #6268
Closed

[BUG] Flaky test SegmentReplicationStatsIT.testSegmentReplicationStatsResponse #6261

ashking94 opened this issue Feb 9, 2023 · 1 comment · Fixed by #6268
Assignees
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run

Comments

@ashking94
Copy link
Member

ashking94 commented Feb 9, 2023

Describe the bug
The test org.opensearch.indices.replication.SegmentReplicationStatsIT.testSegmentReplicationStatsResponse introduced with #5718 is flaky -

Error Message
java.lang.AssertionError: 
Expected: <DONE>
     but: was <FINALIZE_REPLICATION>
Stacktrace
java.lang.AssertionError: 
Expected: <DONE>
     but: was <FINALIZE_REPLICATION>
	at __randomizedtesting.SeedInfo.seed([B2577B0DE18AD5BB:FB9EF53F6589927D]:0)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
	at org.junit.Assert.assertThat(Assert.java:964)
	at org.junit.Assert.assertThat(Assert.java:930)
	at org.opensearch.indices.replication.SegmentReplicationStatsIT.testSegmentReplicationStatsResponse(SegmentReplicationStatsIT.java:50)

To Reproduce
Check autocut issue - #6258

Expected behavior
Test should pass all the time

@ashking94 ashking94 added bug Something isn't working flaky-test Random test failure that succeeds on second run labels Feb 9, 2023
@ashking94
Copy link
Member Author

cc @Rishikesh1159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run
Projects
None yet
2 participants