summaryrefslogtreecommitdiff
path: root/jstests/concurrency/fsm_libs
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2015-11-12 09:01:28 -0500
committerJonathan Abrahams <jonathan@mongodb.com>2015-11-12 09:08:08 -0500
commitce64c9af46045c056278a88b6107ae315e52da9a (patch)
tree01303fc260c8f9e46734d372e76632522054adff /jstests/concurrency/fsm_libs
parent15a8e02d7be2f01f80cd7fa9d387e6d177ccb214 (diff)
downloadmongo-ce64c9af46045c056278a88b6107ae315e52da9a.tar.gz
Revert "SERVER-21663 FSM logging improvements"
This reverts commit 15a8e02d7be2f01f80cd7fa9d387e6d177ccb214.
Diffstat (limited to 'jstests/concurrency/fsm_libs')
-rw-r--r--jstests/concurrency/fsm_libs/runner.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/jstests/concurrency/fsm_libs/runner.js b/jstests/concurrency/fsm_libs/runner.js
index 49cf37b8ac4..5b53bfb0979 100644
--- a/jstests/concurrency/fsm_libs/runner.js
+++ b/jstests/concurrency/fsm_libs/runner.js
@@ -464,7 +464,7 @@ var runner = (function() {
var startTime = new Date(); // Initialize in case setupWorkload fails below
var endTime, totalTime;
- jsTest.log('Workload(s) started: ' + workloads.join(' '));
+ jsTest.log(workloads.join('\n'));
prepareCollections(workloads, context, cluster, clusterOptions, executionOptions);
@@ -501,8 +501,9 @@ var runner = (function() {
});
totalTime = endTime.getTime() - startTime.getTime();
- jsTest.log('Workload(s) completed in ' + totalTime + ' ms: ' +
- workloads.join(' '));
+ if (!executionMode.parallel && !executionMode.composed) {
+ jsTest.log(workloads[0] + ': Workload completed in ' + totalTime + ' ms');
+ }
}
// Only drop the collections/databases if all the workloads ran successfully