dcapwell commented on code in PR #46:
URL: https://github.com/apache/cassandra-accord/pull/46#discussion_r1202870939
##########
accord-maelstrom/src/test/java/accord/maelstrom/Runner.java:
##########
@@ -185,7 +185,14 @@ void run(String ... commands) throws IOException
{
logger.info("Seed {}; rerun with -D{}={}", seed, key, seed);
RandomSource randomSource = new DefaultRandom(seed);
- Runner.run(nodeCount, new StandardQueue.Factory(randomSource),
randomSource::fork, factory, commands);
+ try
+ {
+ Runner.run(nodeCount, new StandardQueue.Factory(randomSource),
randomSource::fork, factory, commands);
Review Comment:
these tests are not deterministic, so same seed doesn't actually get the
same results =(
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]