Skip to content

Commit 3a6f54e

Browse files
authored
Sync sdam spec tests (#813)
This brings the tests up-to-date with mongodb/specifications@b07c26dc.
1 parent 6d8fc7e commit 3a6f54e

File tree

286 files changed

+280
-14195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

286 files changed

+280
-14195
lines changed

src/libmongoc/tests/json/server_discovery_and_monitoring/errors/error_handling_handshake.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"a:27017",
1010
{
1111
"ok": 1,
12+
"helloOk": true,
1213
"isWritablePrimary": true,
1314
"hosts": [
1415
"a:27017"

src/libmongoc/tests/json/server_discovery_and_monitoring/errors/non-stale-network-error.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"a:27017",
1010
{
1111
"ok": 1,
12+
"helloOk": true,
1213
"isWritablePrimary": true,
1314
"hosts": [
1415
"a:27017"

src/libmongoc/tests/json/server_discovery_and_monitoring/errors/non-stale-network-timeout-error.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"a:27017",
1010
{
1111
"ok": 1,
12+
"helloOk": true,
1213
"isWritablePrimary": true,
1314
"hosts": [
1415
"a:27017"

src/libmongoc/tests/json/server_discovery_and_monitoring/errors/non-stale-topologyVersion-greater-InterruptedAtShutdown.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"a:27017",
1010
{
1111
"ok": 1,
12+
"helloOk": true,
1213
"isWritablePrimary": true,
1314
"hosts": [
1415
"a:27017"

src/libmongoc/tests/json/server_discovery_and_monitoring/errors/non-stale-topologyVersion-greater-InterruptedDueToReplStateChange.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"a:27017",
1010
{
1111
"ok": 1,
12+
"helloOk": true,
1213
"isWritablePrimary": true,
1314
"hosts": [
1415
"a:27017"

src/libmongoc/tests/json/server_discovery_and_monitoring/errors/non-stale-topologyVersion-greater-LegacyNotPrimary.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"a:27017",
1010
{
1111
"ok": 1,
12+
"helloOk": true,
1213
"isWritablePrimary": true,
1314
"hosts": [
1415
"a:27017"

src/libmongoc/tests/json/server_discovery_and_monitoring/errors/non-stale-topologyVersion-greater-NotMaster.json

Lines changed: 0 additions & 99 deletions
This file was deleted.

src/libmongoc/tests/json/server_discovery_and_monitoring/errors/non-stale-topologyVersion-greater-NotMasterNoSlaveOk.json

Lines changed: 0 additions & 99 deletions
This file was deleted.

src/libmongoc/tests/json/server_discovery_and_monitoring/errors/non-stale-topologyVersion-greater-NotMasterOrSecondary.json

Lines changed: 0 additions & 99 deletions
This file was deleted.

src/libmongoc/tests/json/server_discovery_and_monitoring/errors/non-stale-topologyVersion-greater-NotPrimaryNoSecondaryOk.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"a:27017",
1010
{
1111
"ok": 1,
12+
"helloOk": true,
1213
"isWritablePrimary": true,
1314
"hosts": [
1415
"a:27017"

0 commit comments

Comments
 (0)