exceptionless / Exceptionless.Net

Exceptionless clients for the .NET platform
https://exceptionless.com
Other
557 stars 142 forks source link

Flaky test - PersistedDictionaryTests.WillSaveOnce #275

Closed elachlan closed 2 years ago

elachlan commented 2 years ago

The test fails on the build server, but not locally for me.

[xUnit.net 00:00:06.40]     Exceptionless.Tests.Storage.PersistedDictionaryTests.WillSaveOnce [FAIL]
  Failed Exceptionless.Tests.Storage.PersistedDictionaryTests.WillSaveOnce [1 s]
  Error Message:
   Failed to save dictionary.
Expected: True
Actual:   False
  Stack Trace:
     at Exceptionless.Tests.Storage.PersistedDictionaryTests.WillSaveOnce() in D:\a\Exceptionless.Net\Exceptionless.Net\test\Exceptionless.Tests\Storage\PersistedDictionaryTests.cs:line 40

https://github.com/exceptionless/Exceptionless.Net/runs/6352385214?check_suite_focus=true#step:7:73

The associated test: https://github.com/exceptionless/Exceptionless.Net/blob/118b006c1c66c7fcc2c668f91af5a27cad8bd2ab/test/Exceptionless.Tests/Storage/PersistedDictionaryTests.cs#L23-L42

Related to #255