I've seen this test failing on CI with --interpreter, can't reproduce it
though. Next time it would be nice to see the used seed.
}
public class Tester {
- static readonly int seed = unchecked(DateTime.Now.Ticks.GetHashCode());
+ public static readonly int seed = unchecked(DateTime.Now.Ticks.GetHashCode());
Random rand = new Random(seed);
public static void Main (string[] args)
{
Console.WriteLine("Starting cache testers");
+ Console.WriteLine("Thread seed: " + Tester.seed);
List<Tester> testers = new List<Tester>();
for (int count = 0; count < 10; count++) {
testers.Add(new Tester());