summaryrefslogtreecommitdiff
path: root/jstests/change_streams
diff options
context:
space:
mode:
authorDavis Haupt <davis.haupt@mongodb.com>2019-06-28 11:12:39 -0400
committerDavis Haupt <davis.haupt@mongodb.com>2019-06-28 16:32:04 -0400
commit7b776ef5486f87ee16c8a2771b7e64150dd7ee3c (patch)
treeb7625813878cdcf7e5ce646513c5d9f911e3d521 /jstests/change_streams
parentb651ed3dc6ae61332bb3193afef1cfa41bf5df53 (diff)
downloadmongo-7b776ef5486f87ee16c8a2771b7e64150dd7ee3c.tar.gz
SERVER-42002 Suppress tests with forbidden characters for windows from running.
Diffstat (limited to 'jstests/change_streams')
-rw-r--r--jstests/change_streams/no_regex_leak.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/jstests/change_streams/no_regex_leak.js b/jstests/change_streams/no_regex_leak.js
index a0e1b3aae7d..e1e5f5484e1 100644
--- a/jstests/change_streams/no_regex_leak.js
+++ b/jstests/change_streams/no_regex_leak.js
@@ -50,11 +50,12 @@
cstUnrelated.cleanUp();
cstProblematic.cleanUp();
}
-
- test_no_leak("has_no_pipe", "coll", "has_a_|pipe", "coll");
+ if (!_isWindows()) {
+ test_no_leak("has_no_pipe", "coll", "has_a_|pipe", "coll");
+ test_no_leak("starssss", "coll", "stars*", "coll");
+ }
test_no_leak("has_[two]_brackets", "coll", "has_t_brackets", "coll");
test_no_leak("test", "dotted.collection", "testadotted", "collection");
test_no_leak("carat", "coll", "hasa^carat", "coll");
- test_no_leak("starssss", "coll", "stars*", "coll");
test_no_leak("db1", "coll", "db1", "col*");
}());