Skip to content

Commit 0bdbc7c

Browse files
niemyjskiejsmith
authored andcommitted
Removed some sleeps
1 parent adc55f9 commit 0bdbc7c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/Exceptionless.Tests/Configuration/ConfigurationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public void CanGetSettingsMultithreaded() {
158158
});
159159

160160
while (!result.IsCompleted)
161-
Thread.Sleep(1);
161+
Thread.Yield();
162162
}
163163

164164
[Fact]
@@ -177,7 +177,7 @@ public void CanGetLogSettingsMultithreaded() {
177177
});
178178

179179
while (!result.IsCompleted)
180-
Thread.Sleep(1);
180+
Thread.Yield();
181181
}
182182
}
183183
}

test/Exceptionless.Tests/Plugins/PluginTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,6 @@ public void VerifyDeduplication() {
800800
}
801801
}
802802

803-
Thread.Sleep(100);
804803
Assert.Equal(9, mergedContext.Event.Count.GetValueOrDefault());
805804
}
806805

0 commit comments

Comments
 (0)