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

jstests/sharding/replset_config/empty_cluster_init.js fails in confusing way unless local mongos built

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Testing Infrastructure
    • None
    • ALL

    Description

      If you don't build mongos locally, running this:

      python buildscripts/resmoke.py --executor=sharding ./jstests/sharding/replset_config/empty_cluster_init.js
      

      just spins on failed to connect. This is confusing if you're trying to repro a test failure. If we need mongos, it should assert that in the test, and fail in a clear way.

      Attachments

        Activity

          People

            Unassigned Unassigned
            martin.bligh Martin Bligh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: