Skip to content

Commit e0b194d

Browse files
committed
DRIVERS-2884: CSOT avoid connection churn when operations timeout
1 parent 11c17e4 commit e0b194d

File tree

1 file changed

+4
-3
lines changed
  • source/connection-monitoring-and-pooling/tests

1 file changed

+4
-3
lines changed

source/connection-monitoring-and-pooling/tests/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ response and reuse the connection for the next operation.
3737
- `PendingResponseFailed`
3838
- `ConnectionClosed`
3939
2. Send a command (e.g. an insert) with a 200 millisecond timeout and the following `proxyTest` actions:
40-
- `sendBytes`: We have 3 possible states here: a) Message size was partially read: random value between 1 and 3
41-
inclusive b) Message size was read, body was not read at all: use 4 c) Message size was read, body read
42-
partially: random value between 5 and 100 inclusive
40+
- `sendBytes`: We have 3 possible states here:
41+
1. Message size was partially read: random value between 1 and 3 inclusive
42+
2. Message size was read, body was not read at all: use 4
43+
3. Message size was read, body read partially: random value between 5 and 100 inclusive
4344
- `delayMS`: 400 ( to exceed the 200 ms timeout)
4445
- `sendAll`: `true`
4546
3. Assert that the operation failed with timeout error.

0 commit comments

Comments
 (0)