Skip to content

Commit 309a7e0

Browse files
authored
PYTHON-3353 Improve reliability of SDAM heartbeat error spec tests (#1005)
1 parent 135efdd commit 309a7e0

File tree

3 files changed

+3
-35
lines changed

3 files changed

+3
-35
lines changed

test/discovery_and_monitoring_integration/hello-command-error.json

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"failPoint": {
118118
"configureFailPoint": "failCommand",
119119
"mode": {
120-
"times": 2
120+
"times": 4
121121
},
122122
"data": {
123123
"failCommands": [
@@ -162,22 +162,6 @@
162162
}
163163
]
164164
}
165-
},
166-
{
167-
"name": "assertEventCount",
168-
"object": "testRunner",
169-
"arguments": {
170-
"event": "ServerMarkedUnknownEvent",
171-
"count": 1
172-
}
173-
},
174-
{
175-
"name": "assertEventCount",
176-
"object": "testRunner",
177-
"arguments": {
178-
"event": "PoolClearedEvent",
179-
"count": 1
180-
}
181165
}
182166
],
183167
"expectations": [

test/discovery_and_monitoring_integration/hello-network-error.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"failPoint": {
117117
"configureFailPoint": "failCommand",
118118
"mode": {
119-
"times": 2
119+
"times": 4
120120
},
121121
"data": {
122122
"failCommands": [

test/discovery_and_monitoring_integration/hello-timeout.json

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"failPoint": {
118118
"configureFailPoint": "failCommand",
119119
"mode": {
120-
"times": 2
120+
"times": 4
121121
},
122122
"data": {
123123
"failCommands": [
@@ -160,22 +160,6 @@
160160
}
161161
]
162162
}
163-
},
164-
{
165-
"name": "assertEventCount",
166-
"object": "testRunner",
167-
"arguments": {
168-
"event": "ServerMarkedUnknownEvent",
169-
"count": 1
170-
}
171-
},
172-
{
173-
"name": "assertEventCount",
174-
"object": "testRunner",
175-
"arguments": {
176-
"event": "PoolClearedEvent",
177-
"count": 1
178-
}
179163
}
180164
],
181165
"expectations": [

0 commit comments

Comments
 (0)