Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void WillSaveOnce() {

dict["test"] = "test";
Assert.Equal(11, dict.Count);
success = latch.Wait(500);
success = latch.Wait(1000);
Assert.True(success, "Failed to save dictionary.");
Assert.True(storage.Exists("test.json"));
}
Expand Down
2 changes: 1 addition & 1 deletion test/Exceptionless.Tests/Utility/CountDownLatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public CountDownLatch(int count) {

public void Reset(int count) {
if (count < 0)
throw new ArgumentOutOfRangeException();
throw new ArgumentOutOfRangeException(nameof(count));
_remaining = count;
_event = new ManualResetEventSlim(false);
if (_remaining == 0)
Expand Down