diff options
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/core/txns/create_collection.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/core/txns/create_collection.js b/jstests/core/txns/create_collection.js index 6870e1f5991..5e83df8aa92 100644 --- a/jstests/core/txns/create_collection.js +++ b/jstests/core/txns/create_collection.js @@ -16,7 +16,9 @@ load("jstests/libs/auto_retry_transaction_in_sharding.js"); function runCollectionCreateTest(command, explicitCreate) { const session = db.getMongo().startSession(); const collName = "create_new_collection"; - const secondCollName = collName + "_second"; + // Note: using strange collection name here to test sorting of operations by namespace, + // SERVER-48628 + const secondCollName = "\n" + collName + "_second"; let sessionDB = session.getDatabase("test"); let sessionColl = sessionDB[collName]; |