-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding, Testing Infrastructure
-
Labels:None
-
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.