[
https://issues.apache.org/jira/browse/CASSANDRA-16627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17333061#comment-17333061
]
Berenguer Blasi edited comment on CASSANDRA-16627 at 4/27/21, 10:03 AM:
------------------------------------------------------------------------
I didn't manage to repro. But the only reasonable path I can think of is there
has to be some cross test talk at the file system level. I have pushed a
version which is not final but:
- Has further isolation across test methods
- Provides a runner to run the test class N times
I would propose we review the improved isolated test. If we like it then remove
the repeatability and commit along the repeatable runner which may come in
handy some other time.
{noformat}
Testsuite: org.apache.cassandra.db.DirectoriesTest Tests run: 15000, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 24.579 sec
{noformat}
If sbdy has better ideas I am all ears :-)
was (Author: bereng):
I didn't manage to repro. But the only reasonable path I can think of is there
has to be some cross test talk at the file system level. I have pushed a
version which is not final but:
- Has further isolation across test methods
- Provides a runner to run the test class N times
I would propose we review the improved isolated test. If we like it then remove
the repeatability and commit along the repeatable runner which may come in
handy some other time.
If sbdy has better ideas I am all ears :-)
> Flaky DirectoriesTest.testSecondaryIndexDirectories
> ---------------------------------------------------
>
> Key: CASSANDRA-16627
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16627
> Project: Cassandra
> Issue Type: Task
> Components: Test/unit
> Reporter: Berenguer Blasi
> Assignee: Berenguer Blasi
> Priority: Normal
> Fix For: 4.0-rc
>
>
> See failure
> [here|https://ci-cassandra.apache.org/job/Cassandra-trunk/462/testReport/junit/org.apache.cassandra.db/DirectoriesTest/testSecondaryIndexDirectories_cdc/]
> {noformat}
> Error Message
> expected:<1619094213489> but was:<1619094213485>
> Stacktrace
> junit.framework.AssertionFailedError: expected:<1619094213489> but
> was:<1619094213485>
> at
> org.apache.cassandra.db.DirectoriesTest.testSecondaryIndexDirectories(DirectoriesTest.java:216)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]