Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit ae9c3cf

Browse files
authored
expand ping test expectations to avoid flakiness (#1181)
1 parent d87770a commit ae9c3cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Microsoft.AspNetCore.SignalR.Tests/HubEndpointTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,7 @@ public async Task WritesPingMessageIfNothingWrittenWhenKeepAliveIntervalElapses(
14541454
counter += 1;
14551455
Assert.Same(PingMessage.Instance, message);
14561456
}
1457-
Assert.InRange(counter, 1, 10);
1457+
Assert.InRange(counter, 1, Int32.MaxValue);
14581458
}
14591459
}
14601460

0 commit comments

Comments
 (0)