hermes icon indicating copy to clipboard operation
hermes copied to clipboard

Flaky test: KafkaSingleMessageReaderTest shouldFetchSingleAvroMessage and shouldFetchSingleAvroMessageWithSchemaAwareSerialization

Open pitagoras3 opened this issue 3 years ago • 0 comments

Both tests (shouldFetchSingleAvroMessage and shouldFetchSingleAvroMessageWithSchemaAwareSerialization) are failing due to possible 201 instead of expected 202:

2022-02-02T12:59:01.7251097Z Gradle suite > Gradle test > pl.allegro.tech.hermes.integration.KafkaSingleMessageReaderTest > shouldFetchSingleAvroMessage SKIPPED
2022-02-02T12:59:02.5246748Z 
2022-02-02T12:59:02.5260766Z Gradle suite > Gradle test > pl.allegro.tech.hermes.integration.KafkaSingleMessageReaderTest > shouldFetchSingleAvroMessage SKIPPED
2022-02-02T12:59:03.8246067Z 
2022-02-02T12:59:03.8247207Z Gradle suite > Gradle test > pl.allegro.tech.hermes.integration.KafkaSingleMessageReaderTest > shouldFetchSingleAvroMessage FAILED
2022-02-02T12:59:03.8247908Z     org.junit.ComparisonFailure: expected:<20[1]> but was:<20[2]>
2022-02-02T12:59:03.8248479Z         at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2022-02-02T12:59:03.8249224Z         at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
2022-02-02T12:59:03.8250025Z         at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
2022-02-02T12:59:03.8250857Z         at pl.allegro.tech.hermes.integration.test.HttpResponseAssertion.hasStatus(HttpResponseAssertion.java:19)
2022-02-02T12:59:03.8252070Z         at pl.allegro.tech.hermes.integration.KafkaSingleMessageReaderTest.shouldFetchSingleAvroMessage(KafkaSingleMessageReaderTest.java:74)

pitagoras3 avatar Feb 02 '22 13:02 pitagoras3