diff options
author | Nick Zolnierz <nicholas.zolnierz@mongodb.com> | 2018-06-07 18:05:12 -0400 |
---|---|---|
committer | Nick Zolnierz <nicholas.zolnierz@mongodb.com> | 2018-06-19 15:37:58 -0400 |
commit | 77f43172584a0302df127174b9b0bd2259730772 (patch) | |
tree | afe00156f29775142b070d251fa5691fefde686e /jstests/sharding | |
parent | 4e614564d032bc9133ac46319b588b4b62cee304 (diff) | |
download | mongo-77f43172584a0302df127174b9b0bd2259730772.tar.gz |
SERVER-35029: Add change stream notification for database drop
Diffstat (limited to 'jstests/sharding')
-rw-r--r-- | jstests/sharding/change_stream_resume_from_different_mongos.js | 4 | ||||
-rw-r--r-- | jstests/sharding/change_stream_shard_failover.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/jstests/sharding/change_stream_resume_from_different_mongos.js b/jstests/sharding/change_stream_resume_from_different_mongos.js index 893bb47ab78..0ec7ab2d00c 100644 --- a/jstests/sharding/change_stream_resume_from_different_mongos.js +++ b/jstests/sharding/change_stream_resume_from_different_mongos.js @@ -17,8 +17,8 @@ rs: {nodes: 3, setParameter: {periodicNoopIntervalSecs: 1, writePeriodicNoops: true}} }); - for (let key of Object.keys(ChangeStreamTest.WatchMode)) { - const watchMode = ChangeStreamTest.WatchMode[key]; + for (let key of Object.keys(ChangeStreamWatchMode)) { + const watchMode = ChangeStreamWatchMode[key]; jsTestLog("Running test for mode " + watchMode); const s0DB = st.s0.getDB("test"); diff --git a/jstests/sharding/change_stream_shard_failover.js b/jstests/sharding/change_stream_shard_failover.js index beb218f3584..ade85d27086 100644 --- a/jstests/sharding/change_stream_shard_failover.js +++ b/jstests/sharding/change_stream_shard_failover.js @@ -27,8 +27,8 @@ TestData.skipCheckingUUIDsConsistentAcrossCluster = true; const sDB = st.s.getDB("test"); const kCollName = "change_stream_failover"; - for (let key of Object.keys(ChangeStreamTest.WatchMode)) { - const watchMode = ChangeStreamTest.WatchMode[key]; + for (let key of Object.keys(ChangeStreamWatchMode)) { + const watchMode = ChangeStreamWatchMode[key]; jsTestLog("Running test for mode " + watchMode); const coll = assertDropAndRecreateCollection(sDB, kCollName); |