Skip to content

[BUG] Transport NIO test intermittently failing for large responses #1844

@saratvemulapalli

Description

@saratvemulapalli

Coming from #1834 (comment)

REPRODUCE WITH: ./gradlew ':plugins:transport-nio:test' --tests "org.opensearch.http.nio.NioHttpServerTransportTests.testLargeCompressedResponse" -Dtests.seed=EA1764D9DE4EEADD -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=no -Dtests.timezone=America/Maceio -Druntime.java=15

org.opensearch.http.nio.NioHttpServerTransportTests > testLargeCompressedResponse FAILED
    com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=183, name=opensearch[transport_worker][T#1], state=RUNNABLE, group=TGRP-NioHttpServerTransportTests]

        Caused by:
        java.lang.AssertionError
            at __randomizedtesting.SeedInfo.seed([EA1764D9DE4EEADD]:0)
            at org.opensearch.http.nio.NioHttpServerTransportTests$3.dispatchRequest(NioHttpServerTransportTests.java:351)

    com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=184, name=opensearch[transport_worker][T#2], state=RUNNABLE, group=TGRP-NioHttpServerTransportTests]

        Caused by:
        java.lang.AssertionError
            at __randomizedtesting.SeedInfo.seed([EA1764D9DE4EEADD]:0)
            at org.opensearch.http.nio.NioHttpServerTransportTests$3.dispatchRequest(NioHttpServerTransportTests.java:351)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingflaky-testRandom test failure that succeeds on second run

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions