summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2017-07-31 18:14:18 -0400
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2017-08-11 11:43:45 -0400
commit91f42e47345e58c3f277dba6276d70a41cb8daec (patch)
tree9a4ba9b81d4c8dec0a94e15fa4865ca77a5f86c9 /buildscripts/resmokeconfig
parentf2b0ffdc54647aa6dd7cddfb740a63f419d30d55 (diff)
downloadmongo-91f42e47345e58c3f277dba6276d70a41cb8daec.tar.gz
SERVER-29593: Integrate the official JSON Schema test corpus into the unit tests
Diffstat (limited to 'buildscripts/resmokeconfig')
-rw-r--r--buildscripts/resmokeconfig/suites/json_schema.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/json_schema.yml b/buildscripts/resmokeconfig/suites/json_schema.yml
new file mode 100644
index 00000000000..d18cd5bc315
--- /dev/null
+++ b/buildscripts/resmokeconfig/suites/json_schema.yml
@@ -0,0 +1,23 @@
+test_kind: json_schema_test
+
+selector:
+ roots:
+ - src/third_party/JSON-Schema-Test-Suite/tests/draft4/**/*.json
+ include_files:
+ - src/third_party/JSON-Schema-Test-Suite/tests/draft4/maximum.json
+ - src/third_party/JSON-Schema-Test-Suite/tests/draft4/minimum.json
+
+executor:
+ config:
+ shell_options:
+ readMode: commands
+ hooks:
+ - class: ValidateCollections
+ - class: CleanEveryN
+ n: 20
+ fixture:
+ class: MongoDFixture
+ mongod_options:
+ bind_ip_all: ''
+ set_parameters:
+ enableTestCommands: 1