Skip to content

Commit

Permalink
CAP-1788 Not translating all "." to "_" in the collection name of a test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alvin Richards committed Dec 5, 2014
1 parent a7bafe4 commit 0888181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/utils.js
Expand Up @@ -68,7 +68,7 @@ function runTest(test, thread, multidb, multicoll, runSeconds, shard, writeOptio

for (var i = 0; i < multidb; i++) {
var sibling_db = db.getSiblingDB('test' + i);
var foo = test.name.replace(".", "_");
var foo = test.name.replace(/\./g,"_");
for (var j = 0; j < multicoll; j++) {
var coll = sibling_db.getCollection(foo + j);
collections.push(coll);
Expand Down

0 comments on commit 0888181

Please sign in to comment.