automq icon indicating copy to clipboard operation
automq copied to clipboard

[Good first issue] Fix S3ObjectsImageTest#testConcurrentRefRetainAndReleaseNotThrowException flaky test

Open superhx opened this issue 1 year ago • 2 comments

Gradle Test Run :metadata:S3UnitTest > Gradle Test Executor 10 > S3ObjectsImageTest > testConcurrentRefRetainAndReleaseNotThrowException() FAILED
    org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
        at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
        at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
        at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
        at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
        at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
        at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
        at app//org.apache.kafka.image.S3ObjectsImageTest.testConcurrentRefRetainAndReleaseNotThrowException(S3ObjectsImageTest.java:218)

superhx avatar Jul 30 '24 06:07 superhx

Let me try!

chengxs258 avatar Jul 31 '24 08:07 chengxs258

Not sure how to replicate this or if it has been fixed. image

MokshVerma avatar Aug 06 '24 08:08 MokshVerma

is this issue fixed?

chandu-rrsch avatar Jan 13 '25 16:01 chandu-rrsch

Hello, As I see this ticket has not been assigned yet. I would like to pick up this.

yakupkariksiz avatar Mar 05 '25 09:03 yakupkariksiz

Assigned, have fun @yakupkariksiz

daniel-y avatar Mar 06 '25 09:03 daniel-y

I looked into this issue and tried to reproduce the failure locally by running S3ObjectsImageTest.testConcurrentRefRetainAndReleaseNotThrowException multiple times. However, the test runs successfully without any failures.

Additionally, I noticed that this is a duplicate of #1821, which has already been fixed. I believe we can close this ticket.

yakupkariksiz avatar Mar 07 '25 19:03 yakupkariksiz

#1821

Sorry for the duplicated issues

superhx avatar Mar 08 '25 04:03 superhx