C. Scott Andreas created CASSANDRA-21495:
--------------------------------------------
Summary: Flaky test: Reproducible failing seed in
CommandsForKeySerializerTest#test
Key: CASSANDRA-21495
URL: https://issues.apache.org/jira/browse/CASSANDRA-21495
Project: Apache Cassandra
Issue Type: Bug
Reporter: C. Scott Andreas
CommandsForKeySerializerTest#test is exhibiting infrequent test flakes.
On trunk at 1332e217, the seed value {{8371760811100379575}}
Fails with:
{{junit.framework.AssertionFailedError: Property error detected:}}
{{ Seed = 8371760811100379575 ; Examples = 1000 ; Pure = true}}
{{Caused by: java.lang.IllegalArgumentException: Could not generate a unique
value after 10k attempts}}
{{ at accord.utils.Gens$GenReset.next(Gens.java:1473)}}
{{ at accord.utils.Gens$ArrayDSL.lambda$ofSizeBetween$0(Gens.java:1358)}}
{{ at
...CommandsForKeySerializerTest.lambda$test$33(CommandsForKeySerializerTest.java}}
As the test is written, the failure occurs because the `redundantBefore` value
is drawn from a narrow domain which can be exhausted.
When the domain is exhausted, no seed value can be found and the test fails
after 10k attempts.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]