OctopusDeploy / Halibut

| Public | A secure communication stack for .NET using JSON-RPC over SSL.
Other
12 stars 44 forks source link

Retry assertion to resolve timing issues in MaximumActiveTcpConnectionsFixture test #601

Closed APErebus closed 7 months ago

APErebus commented 7 months ago

Background

We've noticed that this test can be flaky. It seems that the assertion sometimes runs just before the logs are populated. To resolve this, we now put the assertion in Wait.UntilActionSucceeds to do some retry for up to 30s.

How to review this PR

Quality :heavy_check_mark:

Pre-requisites