diff --git a/spec/spec_tests/data/client_side_operations_timeout/command-execution.yml b/spec/spec_tests/data/client_side_operations_timeout/command-execution.yml index 43d5b04567..a52c8b19a6 100644 --- a/spec/spec_tests/data/client_side_operations_timeout/command-execution.yml +++ b/spec/spec_tests/data/client_side_operations_timeout/command-execution.yml @@ -28,7 +28,16 @@ initialData: tests: - description: "maxTimeMS value in the command is less than timeoutMS" - skipReason: "RUBY-3922: fails on server 7.0.39+/8.0.28+ due to SERVER-128517 pre-auth streamable hello 10s floor changing RTT measurement" + runOnRequirements: + # SERVER-128517 floors pre-auth streamable hello at 1s, which changes the + # measured RTT. SERVER-132246 lowered the default to 500ms in 8.0.30, + # 8.3.9 and 9.0.0-rc2, but it was never backported to 8.2 (8.2.12 is the + # last 8.2 release) and the 7.0 backport is not released yet. Skip 7.x and + # 8.2.x; run everywhere else. RUBY-3922. + - maxServerVersion: "6.99" + - minServerVersion: "8.0" + maxServerVersion: "8.1" + - minServerVersion: "8.3" operations: # Artificially increase the server RTT to ~50ms. - name: failPoint @@ -101,7 +110,16 @@ tests: maxTimeMS: { $$lte: 450 } - description: "command is not sent if RTT is greater than timeoutMS" - skipReason: "RUBY-3922: fails on server 7.0.39+/8.0.28+ due to SERVER-128517 pre-auth streamable hello 10s floor changing RTT measurement" + runOnRequirements: + # SERVER-128517 floors pre-auth streamable hello at 1s, which changes the + # measured RTT. SERVER-132246 lowered the default to 500ms in 8.0.30, + # 8.3.9 and 9.0.0-rc2, but it was never backported to 8.2 (8.2.12 is the + # last 8.2 release) and the 7.0 backport is not released yet. Skip 7.x and + # 8.2.x; run everywhere else. RUBY-3922. + - maxServerVersion: "6.99" + - minServerVersion: "8.0" + maxServerVersion: "8.1" + - minServerVersion: "8.3" operations: # Artificially increase the server RTT to ~50ms. - name: failPoint diff --git a/spec/spec_tests/data/sdam_unified/interruptInUse-pool-clear.yml b/spec/spec_tests/data/sdam_unified/interruptInUse-pool-clear.yml index 708c855612..4caea71213 100644 --- a/spec/spec_tests/data/sdam_unified/interruptInUse-pool-clear.yml +++ b/spec/spec_tests/data/sdam_unified/interruptInUse-pool-clear.yml @@ -21,7 +21,16 @@ initialData: &initialData tests: - description: Connection pool clear uses interruptInUseConnections=true after monitor timeout - skipReason: "RUBY-3922: fails on server 7.0.39+/8.0.28+ due to SERVER-128517 pre-auth streamable hello 10s floor" + runOnRequirements: + # SERVER-128517 floors pre-auth streamable hello at 1s, which breaks this + # test's 500ms heartbeat/connect timeouts. SERVER-132246 lowered the + # default to 500ms in 8.0.30, 8.3.9 and 9.0.0-rc2, but it was never + # backported to 8.2 (8.2.12 is the last 8.2 release) and the 7.0 backport + # is not released yet. Skip 7.x and 8.2.x; run everywhere else. RUBY-3922. + - maxServerVersion: "6.99" + - minServerVersion: "8.0" + maxServerVersion: "8.1" + - minServerVersion: "8.3" operations: - name: createEntities object: testRunner @@ -125,7 +134,16 @@ tests: - _id: 1 - description: Error returned from connection pool clear with interruptInUseConnections=true is retryable - skipReason: "RUBY-3922: fails on server 7.0.39+/8.0.28+ due to SERVER-128517 pre-auth streamable hello 10s floor" + runOnRequirements: + # SERVER-128517 floors pre-auth streamable hello at 1s, which breaks this + # test's 500ms heartbeat/connect timeouts. SERVER-132246 lowered the + # default to 500ms in 8.0.30, 8.3.9 and 9.0.0-rc2, but it was never + # backported to 8.2 (8.2.12 is the last 8.2 release) and the 7.0 backport + # is not released yet. Skip 7.x and 8.2.x; run everywhere else. RUBY-3922. + - maxServerVersion: "6.99" + - minServerVersion: "8.0" + maxServerVersion: "8.1" + - minServerVersion: "8.3" operations: - name: createEntities object: testRunner @@ -232,7 +250,16 @@ tests: documents: - _id: 1 - description: Error returned from connection pool clear with interruptInUseConnections=true is retryable for write - skipReason: "RUBY-3922: fails on server 7.0.39+/8.0.28+ due to SERVER-128517 pre-auth streamable hello 10s floor" + runOnRequirements: + # SERVER-128517 floors pre-auth streamable hello at 1s, which breaks this + # test's 500ms heartbeat/connect timeouts. SERVER-132246 lowered the + # default to 500ms in 8.0.30, 8.3.9 and 9.0.0-rc2, but it was never + # backported to 8.2 (8.2.12 is the last 8.2 release) and the 7.0 backport + # is not released yet. Skip 7.x and 8.2.x; run everywhere else. RUBY-3922. + - maxServerVersion: "6.99" + - minServerVersion: "8.0" + maxServerVersion: "8.1" + - minServerVersion: "8.3" operations: - name: createEntities object: testRunner