diff options
author | agirbal <antoine@10gen.com> | 2011-11-17 16:49:57 -0800 |
---|---|---|
committer | agirbal <antoine@10gen.com> | 2011-11-17 16:51:05 -0800 |
commit | c49a08db09be051d4922350ade3cfd8c98c09a84 (patch) | |
tree | 69501ef85348abc38bc49aab97ffa540c38ddde5 /jstests/sharding/addshard2.js | |
parent | eab212db97c40828c98dbef03e64f06596bb3b47 (diff) | |
download | mongo-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.js | 4 |
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(); |