src/Services/ConferenceManagement/Strive.IntegrationTests/_Helpers/SynchronizedObjectListener.cs
Method WaitForEventInternal
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task WaitForEventInternal(Func<bool> testCondition, TimeSpan timeout)
{
var timeoutTimestamp = DateTimeOffset.UtcNow.Add(timeout);
var autoResetEvent = new AsyncAutoResetEvent(false);