nosql-tests
nosql-tests copied to clipboard
benchmark.js issue when try to execute a single task
Issue description:
When you try to execute a single task, the benchmark.js return next message: `[root@localhost nosql-tests]# node benchmark mongodb -a 127.0.0.1 -t singeRead /home/dsuser/nosql-tests/benchmark.js:93 tests = tests.split(',').map(trim); ^
ReferenceError: trim is not defined
at Object.
Solution:
Instead of this code:
tests = tests.split(',').map(trim);
I use this:
tests = tests.split(',').map(function (val) { return val; });