summaryrefslogtreecommitdiff
path: root/jstests/concurrency
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:09:30 -0500
commit086a41b2cd0fcc82f9c1ecf2ad2550ec0af60e44 (patch)
tree5f9bb02ea638394f0e19840645f893e5a3477358 /jstests/concurrency
parentce64c9af46045c056278a88b6107ae315e52da9a (diff)
downloadmongo-086a41b2cd0fcc82f9c1ecf2ad2550ec0af60e44.tar.gz
SERVER-21163 FSM logging improvements
Diffstat (limited to 'jstests/concurrency')
-rw-r--r--jstests/concurrency/fsm_libs/runner.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/jstests/concurrency/fsm_libs/runner.js b/jstests/concurrency/fsm_libs/runner.js
index 5b53bfb0979..49cf37b8ac4 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(workloads.join('\n'));
+ jsTest.log('Workload(s) started: ' + workloads.join(' '));
prepareCollections(workloads, context, cluster, clusterOptions, executionOptions);
@@ -501,9 +501,8 @@ var runner = (function() {
});
totalTime = endTime.getTime() - startTime.getTime();
- if (!executionMode.parallel && !executionMode.composed) {
- jsTest.log(workloads[0] + ': Workload completed in ' + totalTime + ' ms');
- }
+ jsTest.log('Workload(s) completed in ' + totalTime + ' ms: ' +
+ workloads.join(' '));
}
// Only drop the collections/databases if all the workloads ran successfully