Skip to content

[BUG] Test Failure org.opensearch.index.engine.NRTReplicationEngineTests.testUpdateSegments #3584

@xuezhou25

Description

@xuezhou25

Describe the bug
Comes from #3568 (comment)

To Reproduce

> Task :server:test

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.index.engine.NRTReplicationEngineTests.testUpdateSegments" -Dtests.seed=569CC7C1CA942529 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=sr-RS -Dtests.timezone=Africa/Lome -Druntime.java=17

org.opensearch.index.engine.NRTReplicationEngineTests > testUpdateSegments FAILED
    java.lang.AssertionError: expected:<[_0.cfe, _0.si, _0_1_Asserting_0.dvm, _2.si, _0.cfs, _2.cfe, _2.cfs, _0_1_Asserting_0.dvd, _0_1.fnm, segments_3]> but was:<[_0.si, _0_1_Asserting_0.dvm, _1.cfe, _1.si, _0.cfs, _0_1_Asserting_0.dvd, segments_3, _1.cfs, _1_1_Asserting_0.dvd, _0.cfe, _1_1_Asserting_0.dvm, _0_1.fnm, _1_1.fnm]>
        at __randomizedtesting.SeedInfo.seed([569CC7C1CA942529:36DB290B658B5CC0]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:120)
        at org.junit.Assert.assertEquals(Assert.java:146)
        at org.opensearch.index.engine.NRTReplicationEngineTests.assertMatchingSegmentsAndCheckpoints(NRTReplicationEngineTests.java:203)
        at org.opensearch.index.engine.NRTReplicationEngineTests.testUpdateSegments(NRTReplicationEngineTests.java:143)

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

>test-failureTest failure from CI, local build, etc.bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions