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

Make ShardingTest expose all methods of 'sh' with the first mongos as a target

    • Fully Compatible
    • Sharding 16 (06/24/16)

      Sharding tests are run with the shell started with the --nodb option, which means that there is no db variable. These tests do tricks with setting the global db value in order to be able to run methods from sh.

      We should expose all the methods from sh on ShardingTest so js tests can use them.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: