summaryrefslogtreecommitdiff
path: root/jstests/sharding/addshard2.js
diff options
context:
space:
mode:
authoragirbal <antoine@10gen.com>2011-11-17 16:49:57 -0800
committeragirbal <antoine@10gen.com>2011-11-17 16:51:05 -0800
commitc49a08db09be051d4922350ade3cfd8c98c09a84 (patch)
tree69501ef85348abc38bc49aab97ffa540c38ddde5 /jstests/sharding/addshard2.js
parenteab212db97c40828c98dbef03e64f06596bb3b47 (diff)
downloadmongo-c49a08db09be051d4922350ade3cfd8c98c09a84.tar.gz
replica set tests did not clean up the data folder due to bug
Diffstat (limited to 'jstests/sharding/addshard2.js')
-rw-r--r--jstests/sharding/addshard2.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/sharding/addshard2.js b/jstests/sharding/addshard2.js
index 92a54da7f3d..a0c16b55969 100644
--- a/jstests/sharding/addshard2.js
+++ b/jstests/sharding/addshard2.js
@@ -49,4 +49,6 @@ assert(!s.admin.runCommand({"addshard" : "add_shard2_rs2/NonExistingHost:31203"}
assert(!s.admin.runCommand({"addshard" : "add_shard2_rs2/"+getHostName()+":31203,foo:9999"}).ok,
"accepted bad hostname in step 6");
-s.stop(); \ No newline at end of file
+s.stop();
+rs1.stopSet();
+rs2.stopSet();