From bce3041bf62f6b956b5e4ece19bb5236e16b3bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=9Fra=C5=9F=20Erg=C3=BCn?= <96827714+ugras-ergun-sonarsource@users.noreply.github.com> Date: Wed, 15 Nov 2023 10:19:27 +0100 Subject: [PATCH] shortened the wait --- src/Core.UnitTests/GitEventsMonitorTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core.UnitTests/GitEventsMonitorTests.cs b/src/Core.UnitTests/GitEventsMonitorTests.cs index 610be4da6..1c672fd4f 100644 --- a/src/Core.UnitTests/GitEventsMonitorTests.cs +++ b/src/Core.UnitTests/GitEventsMonitorTests.cs @@ -47,7 +47,7 @@ public void HeadChanged_EventInvoked() fileSystemWatcher.Raise(w => w.Renamed += null, null, null); - Task.Delay(1000).Wait(); + Task.Delay(10).Wait(); counter.Should().Be(1); }