Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31619

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

    • Fully Compatible
    • ALL

      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:
            william.schultz@mongodb.com William Schultz (Inactive)
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: