Skip to content

Commit

Permalink
Revert "Sync server discovery integration spec tests"
Browse files Browse the repository at this point in the history
This reverts commit 4a08efb.

JAVA-4677
  • Loading branch information
jyemin committed Jul 14, 2022
1 parent 4a08efb commit 4a609f5
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"failPoint": {
"configureFailPoint": "failCommand",
"mode": {
"times": 4
"times": 2
},
"data": {
"failCommands": [
Expand Down Expand Up @@ -162,6 +162,22 @@
}
]
}
},
{
"name": "assertEventCount",
"object": "testRunner",
"arguments": {
"event": "ServerMarkedUnknownEvent",
"count": 1
}
},
{
"name": "assertEventCount",
"object": "testRunner",
"arguments": {
"event": "PoolClearedEvent",
"count": 1
}
}
],
"expectations": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"failPoint": {
"configureFailPoint": "failCommand",
"mode": {
"times": 4
"times": 2
},
"data": {
"failCommands": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"failPoint": {
"configureFailPoint": "failCommand",
"mode": {
"times": 4
"times": 2
},
"data": {
"failCommands": [
Expand Down Expand Up @@ -160,6 +160,22 @@
}
]
}
},
{
"name": "assertEventCount",
"object": "testRunner",
"arguments": {
"event": "ServerMarkedUnknownEvent",
"count": 1
}
},
{
"name": "assertEventCount",
"object": "testRunner",
"arguments": {
"event": "PoolClearedEvent",
"count": 1
}
}
],
"expectations": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,27 +45,14 @@
"name": "recordPrimary",
"object": "testRunner"
},
{
"name": "runAdminCommand",
"object": "testRunner",
"command_name": "replSetFreeze",
"arguments": {
"command": {
"replSetFreeze": 0
},
"readPreference": {
"mode": "Secondary"
}
}
},
{
"name": "runAdminCommand",
"object": "testRunner",
"command_name": "replSetStepDown",
"arguments": {
"command": {
"replSetStepDown": 30,
"secondaryCatchUpPeriodSecs": 30,
"replSetStepDown": 1,
"secondaryCatchUpPeriodSecs": 1,
"force": false
}
}
Expand All @@ -74,7 +61,7 @@
"name": "waitForPrimaryChange",
"object": "testRunner",
"arguments": {
"timeoutMS": 15000
"timeoutMS": 5000
}
},
{
Expand Down

0 comments on commit 4a609f5

Please sign in to comment.