[ 
https://issues.apache.org/jira/browse/CASSANDRA-16516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17301633#comment-17301633
 ] 

Benjamin Lerer commented on CASSANDRA-16516:
--------------------------------------------

I think that we can also fix it in a different way: 
https://github.com/apache/cassandra/compare/trunk...blerer:CASSANDRA-16516-review?expand=1
The approach ensure that we do not generate invalid slides instead of rejecting 
them after the validation.
I ran it for 10,000 runs several time and did not hit the problem anymore.
[~Bereng] What do you think?  

> ValueAccessorTest.testSlice is flaky
> ------------------------------------
>
>                 Key: CASSANDRA-16516
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16516
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Brandon Williams
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 4.0-rc
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> https://ci-cassandra.apache.org/job/Cassandra-devbranch/479/testReport/junit/org.apache.cassandra.db.marshal/ValueAccessorTest/testSlice/
> Probably fairly rare, but the potential is there:
> {quote}
> Regression
> org.apache.cassandra.db.marshal.ValueAccessorTest.testSlice
> Failing for the past 1 build (Since In progress#479 )
> Took 25 ms.
> Error Message
> Gave up after finding only 59 example(s) matching the assumptions
> Stacktrace
> java.lang.IllegalStateException: Gave up after finding only 59 example(s) 
> matching the assumptions
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to