Skip to content

Meets nondeterministic behavior using turmoil #149

Answered by mcches
violin0622 asked this question in Q&A
Discussion options

You must be logged in to vote

Why do I have to sim.step() TWICE rather than once to make test pass ?

If you check out the documentation for step() you'll see that this simply steps things forward once for each host. Use run() to step until clients have completed.

Given the deterministic epoch and rand seed, why does the code still fails occasionally ?

Can you switch to run() and we can debug further if necessary?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@violin0622
Comment options

Answer selected by violin0622
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants