Commit 63e6a62
authored
Make recirq/kpz/experiment_test.py deterministic (#391)
Add constant seed so that the sampler and RNG generator are deterministic.
This will fix flakiness in test_size_independence_muinf within recirq/kpz/experiment_test.py
Note that the test can still produce different results if multi-threaded pytest is used depending on the order of execution of different tests, but this will vastly reduce the number of cases tested.1 parent 00b51f6 commit 63e6a62
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments