diff options
author | Matt Broadstone <mbroadst@mongodb.com> | 2023-01-10 18:55:54 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-01-10 19:49:44 +0000 |
commit | f846df62b5cc55de0fc0eda7051fcbeef029994f (patch) | |
tree | 49cf0e83b33f58e7a0bea03b54b0805d1dd7272a /jstests/replsets/tenant_migration_oplog_view.js | |
parent | 5139c8c1e3791516d6cd138e1ba7680ec59029aa (diff) | |
download | mongo-f846df62b5cc55de0fc0eda7051fcbeef029994f.tar.gz |
SERVER-72577 Convert tenant migrations tests to use es modules
Diffstat (limited to 'jstests/replsets/tenant_migration_oplog_view.js')
-rw-r--r-- | jstests/replsets/tenant_migration_oplog_view.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/jstests/replsets/tenant_migration_oplog_view.js b/jstests/replsets/tenant_migration_oplog_view.js index 7738ebee2ef..764cf86494e 100644 --- a/jstests/replsets/tenant_migration_oplog_view.js +++ b/jstests/replsets/tenant_migration_oplog_view.js @@ -10,10 +10,8 @@ * serverless, * ] */ -(function() { -"use strict"; -load("jstests/replsets/libs/tenant_migration_test.js"); +import {TenantMigrationTest} from "jstests/replsets/libs/tenant_migration_test.js"; const kGarbageCollectionDelayMS = 5 * 1000; const donorRst = new ReplSetTest({ @@ -109,4 +107,3 @@ const collection = session.getDatabase(dbName)[collName]; donorRst.stopSet(); tenantMigrationTest.stop(); -})(); |