diff options
author | Randolph Tan <randolph@10gen.com> | 2015-04-20 11:26:17 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2015-04-24 11:14:18 -0400 |
commit | db51f85d95c6d79ad50e112021958c16ef37b332 (patch) | |
tree | 4a78f80452a2fc76437a8263444f9609689d6fc0 /jstests | |
parent | 3353caa09f6f502a3fd4753dd92679890e6ede32 (diff) | |
download | mongo-db51f85d95c6d79ad50e112021958c16ef37b332.tar.gz |
SERVER-17592 Refactor legacy logic into distributed lock manager
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/noPassthroughWithMongod/testing_only_commands.js | 5 | ||||
-rw-r--r-- | jstests/sharding/sync3.js | 12 |
2 files changed, 2 insertions, 15 deletions
diff --git a/jstests/noPassthroughWithMongod/testing_only_commands.js b/jstests/noPassthroughWithMongod/testing_only_commands.js index a23ac3a7c4c..987f3cfa55f 100644 --- a/jstests/noPassthroughWithMongod/testing_only_commands.js +++ b/jstests/noPassthroughWithMongod/testing_only_commands.js @@ -3,8 +3,7 @@ * via the --enableTestCommands flag fail when that flag isn't provided. */ -var testOnlyCommands = ['_testDistLockWithSyncCluster', - '_testDistLockWithSkew', +var testOnlyCommands = ['_testDistLockWithSkew', '_skewClockCommand', 'configureFailPoint', '_hashBSONElement', @@ -13,7 +12,7 @@ var testOnlyCommands = ['_testDistLockWithSyncCluster', 'godinsert', 'sleep', 'captrunc', - 'emptycapped'] + 'emptycapped']; var assertCmdNotFound = function(db, cmdName) { var res = db.runCommand(cmdName); diff --git a/jstests/sharding/sync3.js b/jstests/sharding/sync3.js deleted file mode 100644 index 97595209756..00000000000 --- a/jstests/sharding/sync3.js +++ /dev/null @@ -1,12 +0,0 @@ -// NOTE: this test is skipped when running smoke.py with --auth or --keyFile to force authentication -// in all tests. -var bitbucket = _isWindows() ? "NUL" : "/dev/null"; -test = new SyncCCTest( "sync3" )//, { logpath : bitbucket } ) - -x = test._connections[0].getDB( "admin" ).runCommand( { "_testDistLockWithSyncCluster" : 1 , host : test.url } ) -printjson( x ) -assert( x.ok ); - - - -test.stop(); |