You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test fails randomly and never tests the same thing. It should not randomize
everything, but use a set seed to ensure that the test is the same all the time.
The seed should be set at the beginning of every test, or in a @begin method.
Every test method should run a loop to run the test multiple times with
different values. Also, _isPredicate must not be randomized, but every test
should run with _isPredicate == true and _isPredicate == false in one execution.
The goal of this is that we can detect a test failure with one execution mvn
test, and not multiple.
We got random test failures because of this :(
Original issue reported on code.google.com by Isib...@gmail.com on 14 May 2014 at 10:13
The text was updated successfully, but these errors were encountered:
Hi Sebastian,
could I ask you more details? I'm running and running again this tests and
see no problem. Also, this tests is using mock objects and therefore
shouldn't have any effect on Cassandra tables / column families
Best,
Andrea
2014-05-14 12:13 GMT+02:00 <cumulusrdf@googlecode.com>:
Original comment by a.gazzarini@gmail.com on 14 May 2014 at 12:15
I fixed the issue in this class today. But this is a design choice, if a test
fails, we want that it fails every build, not randomly just one or the
other.
Original comment by Isib...@gmail.com on 14 May 2014 at 12:20
Original issue reported on code.google.com by
Isib...@gmail.com
on 14 May 2014 at 10:13The text was updated successfully, but these errors were encountered: