12 lines
343 B
JavaScript
12 lines
343 B
JavaScript
// NOTE: this test is skipped when running smoke.py with --auth or --keyFile to force authentication
|
|
// in all tests.
|
|
test = new SyncCCTest( "sync3" )//, { logpath : "/dev/null" } )
|
|
|
|
x = test._connections[0].getDB( "admin" ).runCommand( { "_testDistLockWithSyncCluster" : 1 , host : test.url } )
|
|
printjson( x )
|
|
assert( x.ok );
|
|
|
|
|
|
|
|
test.stop();
|