Skip to content
Snippets Groups Projects
Commit ab98baa9 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

random() has returned the same result four times in a row

at least three times since we enabled the test suite.  The odds
of that happening *should* be one in a million, but NetBSD managed
to fail this time (don't remember previous times, and not sure
how to find them).

For now, I'll just change this so there's a one in a trillion chance.
parent 36d37a51
No related branches found
No related tags found
No related merge requests found
Pipeline #5819 passed
random();
if (random() == random() == random() == random())
if (random(10000) == random(10000) == random(10000) == random(10000))
throw new Error("Four random() calls returned same result");
for (var i = 0; i < 1000; i++) {
var rval = random(10);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment