Skip to content

Commit d366fec

Browse files
skip auth tests on noauth tests
1 parent 08caf70 commit d366fec

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

test/spec/server-discovery-and-monitoring/unified/pool-clear-checkout-error.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
"tests": [
2424
{
2525
"description": "Pool is cleared before connection is closed (authentication error)",
26+
"runOnRequirements": [
27+
{
28+
"auth": true
29+
}
30+
],
2631
"operations": [
2732
{
2833
"name": "failPoint",

test/spec/server-discovery-and-monitoring/unified/pool-clear-checkout-error.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ createEntities:
1616

1717
tests:
1818
- description: Pool is cleared before connection is closed (authentication error)
19+
runOnRequirements:
20+
- auth: true
21+
1922
operations:
2023
- name: failPoint
2124
object: testRunner
@@ -126,7 +129,7 @@ tests:
126129
previousDescription:
127130
type: "Unknown"
128131
newDescription:
129-
type: "Single"
132+
type: "Single"
130133
count: 1
131134

132135
- name: failPoint
@@ -143,7 +146,7 @@ tests:
143146
- isMaster
144147
appName: authErrorTest
145148
closeConnection: true
146-
149+
147150
- name: insertMany
148151
object: *collection
149152
arguments:
@@ -174,4 +177,3 @@ tests:
174177
- poolClearedEvent: {}
175178
- connectionClosedEvent: {}
176179
- connectionCheckOutFailedEvent: {}
177-

test/spec/server-discovery-and-monitoring/unified/pool-clear-min-pool-size-error.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"runOnRequirements": [
2525
{
2626
"minServerVersion": "4.4",
27-
"serverless": "forbid"
27+
"serverless": "forbid",
28+
"auth": true
2829
}
2930
],
3031
"operations": [

test/spec/server-discovery-and-monitoring/unified/pool-clear-min-pool-size-error.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ tests:
2020
# failCommand appName requirements
2121
- minServerVersion: "4.4"
2222
serverless: forbid
23+
auth: true
2324
operations:
2425
- name: failPoint
2526
object: testRunner

0 commit comments

Comments
 (0)