[ https://issues.apache.org/jira/browse/CASSANDRA-19198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yifan Cai updated CASSANDRA-19198: ---------------------------------- Bug Category: Parent values: Code(13163)Level 1 values: Bug - Unclear Impact(13164) Complexity: Low Hanging Fruit Discovered By: Unit Test Severity: Low Status: Open (was: Triage Needed) > [Analytics] Flaky test: > SSTableInputStreamTests#testTimeoutShouldAccountForActivityTime > --------------------------------------------------------------------------------------- > > Key: CASSANDRA-19198 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19198 > Project: Cassandra > Issue Type: Bug > Components: Analytics Library > Reporter: Yifan Cai > Assignee: Yifan Cai > Priority: Normal > > The test case uses relative time value for assertion. It is flaky since test > execution could be delayed depending on the test environment. > Error Message > {code:java} > org.opentest4j.AssertionFailedError: Timeout didn't account for activity > time. Took 1219ms should have taken at most 1100ms ==> expected: <true> but > was: <false> {code} > Stacktrace > {code:java} > org.opentest4j.AssertionFailedError: Timeout didn't account for activity > time. Took 1219ms should have taken at most 1100ms ==> 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.Assertions.assertTrue(Assertions.java:211) > at > app//org.apache.cassandra.spark.utils.SSTableInputStreamTests.testTimeoutShouldAccountForActivityTime(SSTableInputStreamTests.java:234) > ... {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org