-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.5.1
-
Component/s: Replication, Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
-
Sharding 2017-01-02
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.
- duplicates
-
SERVER-27339 ReplSetTest shouldn't inspect TestData directly
- Closed