Skip to content

Commit 0275776

Browse files
committed
Saveeeeeee
1 parent 424f831 commit 0275776

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/StackExchange.Redis.Tests/AbortOnConnectFailTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public async Task DisconnectAndReconnectThrowsConnectionExceptionSync()
5151
var ex = Assert.ThrowsAny<Exception>(() => db.Ping());
5252
Log("Exception: " + ex.Message);
5353
Assert.True(ex is RedisConnectionException or RedisTimeoutException);
54-
Assert.StartsWith("The message timed out in the backlog attempting to send because no connection became available (400ms) - Last Connection Exception: ", ex.Message);
54+
Assert.StartsWith("The message timed out in the backlog attempting to send because no connection became available (1000ms) - Last Connection Exception: ", ex.Message);
5555
Assert.NotNull(ex.InnerException);
5656
var iex = Assert.IsType<RedisConnectionException>(ex.InnerException);
5757
Assert.Contains(iex.Message, ex.Message);
@@ -74,7 +74,7 @@ public async Task DisconnectAndNoReconnectThrowsConnectionExceptionAsync()
7474
// Exception: The message timed out in the backlog attempting to send because no connection became available (400ms) - Last Connection Exception: SocketFailure (InputReaderCompleted, last-recv: 7) on 127.0.0.1:6379/Interactive, Idle/ReadAsync, last: PING, origin: SimulateConnectionFailure, outstanding: 0, last-read: 0s ago, last-write: 0s ago, keep-alive: 100s, state: ConnectedEstablished, mgr: 8 of 10 available, in: 0, in-pipe: 0, out-pipe: 0, last-heartbeat: never, last-mbeat: 0s ago, global: 0s ago, v: 2.6.120.51136, command=PING, timeout: 100, inst: 0, qu: 0, qs: 0, aw: False, bw: CheckingForTimeout, last-in: 0, cur-in: 0, sync-ops: 1, async-ops: 1, serverEndpoint: 127.0.0.1:6379, conn-sec: n/a, aoc: 0, mc: 1/1/0, mgr: 8 of 10 available, clientName: CRAVERTOP7(SE.Redis-v2.6.120.51136), IOCP: (Busy=0,Free=1000,Min=16,Max=1000), WORKER: (Busy=6,Free=32761,Min=16,Max=32767), POOL: (Threads=33,QueuedItems=0,CompletedItems=5547,Timers=60), v: 2.6.120.51136 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
7575
var ex = await Assert.ThrowsAsync<RedisConnectionException>(() => db.PingAsync());
7676
Log("Exception: " + ex.Message);
77-
Assert.StartsWith("The message timed out in the backlog attempting to send because no connection became available (400ms) - Last Connection Exception: ", ex.Message);
77+
Assert.StartsWith("The message timed out in the backlog attempting to send because no connection became available (1000ms) - Last Connection Exception: ", ex.Message);
7878
Assert.NotNull(ex.InnerException);
7979
var iex = Assert.IsType<RedisConnectionException>(ex.InnerException);
8080
Assert.Contains(iex.Message, ex.Message);

0 commit comments

Comments
 (0)