Skip to content

Commit

Permalink
test: add a color for workload messages to sdam_viz
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Nov 22, 2019
1 parent fed6a57 commit 2aeb1f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/tools/sdam_viz
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ async function run() {
await wait(2000);

try {
print('issuing find...');
print(`${chalk.yellow('workload')} issuing find...`);
const result = await client
.db('test')
.collection('test')
.find({})
.limit(1)
.toArray();
print(` > find completed: ${JSON.stringify(result)}`);
print(`${chalk.yellow('workload')} find completed: ${JSON.stringify(result)}`);
} catch (e) {
print(` > find failed: ${e.message}`);
print(`${chalk.yellow('workload')} find failed: ${e.message}`);
}
}
}
Expand Down

0 comments on commit 2aeb1f2

Please sign in to comment.