Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"description": "timeoutMS behaves correctly during command execution",
"schemaVersion": "1.9",
"schemaVersion": "1.26",
"runOnRequirements": [
{
"minServerVersion": "4.4.7",
Expand Down Expand Up @@ -69,8 +69,10 @@
"appName": "reduceMaxTimeMSTest",
"w": 1,
"timeoutMS": 500,
"heartbeatFrequencyMS": 500
"heartbeatFrequencyMS": 500,
"minPoolSize": 1
},
"awaitMinPoolSizeMS": 10000,
"observeEvents": [
"commandStartedEvent"
]
Expand Down Expand Up @@ -185,8 +187,10 @@
"appName": "rttTooHighTest",
"w": 1,
"timeoutMS": 10,
"heartbeatFrequencyMS": 500
"heartbeatFrequencyMS": 500,
"minPoolSize": 1
},
"awaitMinPoolSizeMS": 10000,
"observeEvents": [
"commandStartedEvent"
]
Expand Down Expand Up @@ -316,8 +320,10 @@
"appName": "reduceMaxTimeMSTest",
"w": 1,
"timeoutMS": 90,
"heartbeatFrequencyMS": 100000
"heartbeatFrequencyMS": 100000,
"minPoolSize": 1
},
"awaitMinPoolSizeMS": 10000,
"observeEvents": [
"commandStartedEvent"
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: "timeoutMS behaves correctly during command execution"

schemaVersion: "1.9"
schemaVersion: "1.26"

runOnRequirements:
# Require SERVER-49336 for failCommand + appName on the initial handshake.
Expand Down Expand Up @@ -56,6 +56,8 @@ tests:
w: 1 # Override server's w:majority default to speed up the test.
timeoutMS: 500
heartbeatFrequencyMS: 500
minPoolSize: 1
awaitMinPoolSizeMS: 10000
observeEvents:
- commandStartedEvent
- database:
Expand Down Expand Up @@ -127,6 +129,8 @@ tests:
w: 1 # Override server's w:majority default to speed up the test.
timeoutMS: 10
heartbeatFrequencyMS: 500
minPoolSize: 1
awaitMinPoolSizeMS: 10000
observeEvents:
- commandStartedEvent
- database:
Expand Down Expand Up @@ -210,6 +214,8 @@ tests:
w: 1 # Override server's w:majority default to speed up the test.
timeoutMS: 90
heartbeatFrequencyMS: 100000 # Override heartbeatFrequencyMS to ensure only 1 RTT is recorded.
minPoolSize: 1
awaitMinPoolSizeMS: 10000
observeEvents:
- commandStartedEvent
- database:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"description": "timeoutMS behaves correctly for the withTransaction API",
"schemaVersion": "1.9",
"schemaVersion": "1.26",
"runOnRequirements": [
{
"minServerVersion": "4.4",
Expand All @@ -21,8 +21,10 @@
"client": {
"id": "client",
"uriOptions": {
"timeoutMS": 500
"timeoutMS": 500,
"minPoolSize": 1
},
"awaitMinPoolSizeMS": 10000,
"useMultipleMongoses": false,
"observeEvents": [
"commandStartedEvent"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: "timeoutMS behaves correctly for the withTransaction API"

schemaVersion: "1.9"
schemaVersion: "1.26"

runOnRequirements:
- minServerVersion: "4.4"
Expand All @@ -14,6 +14,8 @@ createEntities:
id: &client client
uriOptions:
timeoutMS: 500
minPoolSize: 1
awaitMinPoolSizeMS: 10000
useMultipleMongoses: false
observeEvents:
- commandStartedEvent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"description": "MaxTimeMSExpired server errors are transformed into a custom timeout error",
"schemaVersion": "1.9",
"schemaVersion": "1.26",
"runOnRequirements": [
{
"minServerVersion": "4.0",
Expand All @@ -26,8 +26,10 @@
"client": {
"id": "client",
"uriOptions": {
"timeoutMS": 250
"timeoutMS": 250,
"minPoolSize": 1
},
"awaitMinPoolSizeMS": 10000,
"useMultipleMongoses": false,
"observeEvents": [
"commandStartedEvent"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: "MaxTimeMSExpired server errors are transformed into a custom timeout error"

schemaVersion: "1.9"
schemaVersion: "1.26"

# failCommand is available on 4.0 for replica sets and 4.2 for sharded clusters.
runOnRequirements:
Expand All @@ -17,6 +17,8 @@ createEntities:
id: &client client
uriOptions:
timeoutMS: 250
minPoolSize: 1
awaitMinPoolSizeMS: 10000
useMultipleMongoses: false
observeEvents:
- commandStartedEvent
Expand Down
Loading