jstests/sharding/range_deleter_interacts_correctly_with_refine_shard_key.js
/**
 * Generic function to run a test. 'description' is a description of the test for logging
 * purposes and 'testBody' is the test function.
 */
Generic function to run a test. 'description' is a description of the test for logging
purposes and 'testBody' is the test function.
Generic function to run a test . ' description ' is a description of the test for logging purposes and ' testBody ' is the test function .
function test(st, description, testBody) {
    jsTest.log(`Running Test Setup: ${description}`);
    setUp(st);
    jsTest.log(`Running Test Body: ${description}`);
    testBody();
    jsTest.log(`Running Test Tear-Down: ${description}`);
    tearDown(st);
    jsTest.log(`Finished Running Test: ${description}`);
}
function test ( st , description , testBody ) { jsTest . log ( ` ${ description } ` ) ; setUp ( st ) ; jsTest . log ( ` ${ description } ` ) ; testBody ( ) ; jsTest . log ( ` ${ description } ` ) ; tearDown ( st ) ; jsTest . log ( ` ${ description } ` ) ; }
Generic function to run a test.
Generic function to run a test .