|
Sometimes it is convenient to use ReplSetTest directly from the mongo shell to quickly spawn a replica set. However, since it unconditionally accesses TestData, which is only set by resmoke, this causes the following error:
2016-12-16T10:04:36.163-0500 E QUERY [main] TypeError: TestData is undefined :
|
ReplSetTest/this._updateConfigIfNotDurable@src/mongo/shell/replsettest.js:623:13
|
ReplSetTest/this._setDefaultConfigOptions@src/mongo/shell/replsettest.js:637:9
|
ReplSetTest/this.initiate@src/mongo/shell/replsettest.js:647:9
|
ShardingTest@src/mongo/shell/shardingtest.js:1086:13
|
@(shell):1:10
|
This came from this commit.
|