From de6021f9c94b417e400b0d51e9c9e555da07c10f Mon Sep 17 00:00:00 2001 From: Michael Kaufmann <5276337+wulfland@users.noreply.github.com> Date: Thu, 9 Dec 2021 10:37:21 +0100 Subject: [PATCH 1/2] Update FlakyTests.cs --- FlakyTests/FlakyTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/FlakyTests/FlakyTests.cs b/FlakyTests/FlakyTests.cs index 02a064e..182df9c 100644 --- a/FlakyTests/FlakyTests.cs +++ b/FlakyTests/FlakyTests.cs @@ -9,6 +9,7 @@ public class FailingTests public FailingTests() { + // every test gets its own random id! var random = new Random(DateTime.Now.Millisecond); randomId = random.Next(1, 10); Console.WriteLine($"randomId: {randomId}"); From 2c08db157a11852ac7001f338503019083d60656 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann <5276337+wulfland@users.noreply.github.com> Date: Thu, 9 Dec 2021 10:43:02 +0100 Subject: [PATCH 2/2] Update FlakyTests.cs --- FlakyTests/FlakyTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FlakyTests/FlakyTests.cs b/FlakyTests/FlakyTests.cs index 182df9c..6aa59b1 100644 --- a/FlakyTests/FlakyTests.cs +++ b/FlakyTests/FlakyTests.cs @@ -9,7 +9,7 @@ public class FailingTests public FailingTests() { - // every test gets its own random id! + // every test gets its own random id. var random = new Random(DateTime.Now.Millisecond); randomId = random.Next(1, 10); Console.WriteLine($"randomId: {randomId}");