[
https://issues.apache.org/jira/browse/CASSANDRA-19198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francisco Guerrero updated CASSANDRA-19198:
-------------------------------------------
Reviewers: Francisco Guerrero, Francisco Guerrero
Francisco Guerrero, Francisco Guerrero (was: Francisco Guerrero)
Status: Review In Progress (was: Patch Available)
> [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: [email protected]
For additional commands, e-mail: [email protected]