ReplSetTest.initiate throws `TypeError: TestData is undefined` if used outside of resmoke

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If ReplSetTest.initiate is called directly through the shell (not through resmoke), it throws the following exception:

      __unknown_name__:PRIMARY> rs.initiate();
      ...
      2017-10-18T09:31:29.596-0400 E QUERY    [thread1] TypeError: TestData is undefined
      ReplSetTest/this.initiateWithAnyNodeAsPrimary@src/mongo/shell/replsettest.js:944:1
      ReplSetTest/this.initiateWithNodeZeroAsPrimary@src/mongo/shell/replsettest.js:969:9
      ReplSetTest/this.initiate@src/mongo/shell/replsettest.js:983:9
      @(shell):1:1
      

            Assignee:
            Will Schultz
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: