diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-07-27 10:54:44 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2018-05-23 11:19:10 -0400 |
commit | 052a432c6bc6289e0be7f9980bcf1bb687ae1d96 (patch) | |
tree | 8da211fff8c24cf76264213821424106f34f124a | |
parent | 6ca58b3badd0677be4be265e47b23f15a0198043 (diff) | |
download | mongo-052a432c6bc6289e0be7f9980bcf1bb687ae1d96.tar.gz |
SERVER-30290 Use unique paths in ftdc_setdirectory.js
(cherry picked from commit 9a41a9d7cb22c29986fc3d66bb0a284c0b7c6c50)
-rw-r--r-- | jstests/noPassthrough/ftdc_setdirectory.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/noPassthrough/ftdc_setdirectory.js b/jstests/noPassthrough/ftdc_setdirectory.js index c1173055e2a..46f87e51f90 100644 --- a/jstests/noPassthrough/ftdc_setdirectory.js +++ b/jstests/noPassthrough/ftdc_setdirectory.js @@ -54,11 +54,11 @@ load('jstests/libs/ftdc.js'); // 2. Set path and succeed assert.commandWorked( - setParam(admin1, {"diagnosticDataCollectionDirectoryPath": testPath2})); + setParam(admin1, {"diagnosticDataCollectionDirectoryPath": testPath1})); // 3. Set path again and fail assert.commandFailed( - setParam(admin1, {"diagnosticDataCollectionDirectoryPath": testPath2})); + setParam(admin1, {"diagnosticDataCollectionDirectoryPath": testPath1})); // 4. Enable successfully assert.commandWorked(setParam(admin1, {"diagnosticDataCollectionEnabled": 1})); @@ -100,7 +100,7 @@ load('jstests/libs/ftdc.js'); // 2. Set path fail assert.commandFailed( - setParam(admin3, {"diagnosticDataCollectionDirectoryPath": testPath2})); + setParam(admin3, {"diagnosticDataCollectionDirectoryPath": testPath3})); // 3. Enable successfully assert.commandWorked(setParam(admin3, {"diagnosticDataCollectionEnabled": 1})); |