summaryrefslogtreecommitdiff
path: root/jstests/auth/commands_builtin_roles_sharded.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/auth/commands_builtin_roles_sharded.js')
-rw-r--r--jstests/auth/commands_builtin_roles_sharded.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/jstests/auth/commands_builtin_roles_sharded.js b/jstests/auth/commands_builtin_roles_sharded.js
index c9a746f0b70..ab3e1505100 100644
--- a/jstests/auth/commands_builtin_roles_sharded.js
+++ b/jstests/auth/commands_builtin_roles_sharded.js
@@ -9,7 +9,10 @@
* @tags: [requires_sharding]
*/
-import {runAllCommandsBuiltinRoles} from "jstests/auth/lib/commands_builtin_roles.js";
+(function() {
+'use strict';
+
+load('jstests/auth/lib/commands_builtin_roles.js');
const dbPath = MongoRunner.toRealDir("$dataDir/commands_built_in_roles_sharded/");
mkdir(dbPath);
@@ -29,3 +32,4 @@ const conn = new ShardingTest({
});
runAllCommandsBuiltinRoles(conn);
conn.stop();
+})();