summaryrefslogtreecommitdiff
path: root/buildscripts/smoke_config
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2015-11-23 12:47:44 -0500
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2015-11-23 12:47:44 -0500
commita9deb75ef4ca314e3ba59c24f8bb09699769ce9d (patch)
treeb3587291e488b6f2ee3187f0e89af03f08268e9e /buildscripts/smoke_config
parent19b549b6c2731c4bf288a3cd477bc77e77e9efd3 (diff)
downloadmongo-a9deb75ef4ca314e3ba59c24f8bb09699769ce9d.tar.gz
SERVER-20527 Remove the old version of resmoke.py.
Diffstat (limited to 'buildscripts/smoke_config')
-rw-r--r--buildscripts/smoke_config/__init__.py26
-rw-r--r--buildscripts/smoke_config/auth.yaml27
-rw-r--r--buildscripts/smoke_config/auth_shell.yaml21
-rw-r--r--buildscripts/smoke_config/disk.yaml11
-rw-r--r--buildscripts/smoke_config/executor_default.yaml9
-rw-r--r--buildscripts/smoke_config/jscore.yaml21
-rw-r--r--buildscripts/smoke_config/log_console.yaml16
-rw-r--r--buildscripts/smoke_config/log_default.yaml39
-rw-r--r--buildscripts/smoke_config/log_file.yaml39
-rw-r--r--buildscripts/smoke_config/log_suppress.yaml20
-rw-r--r--buildscripts/smoke_config/master_slave.yaml8
-rw-r--r--buildscripts/smoke_config/no_server.yaml9
-rw-r--r--buildscripts/smoke_config/replicasets.yaml11
-rw-r--r--buildscripts/smoke_config/sharding.yaml11
-rw-r--r--buildscripts/smoke_config/unittests.yaml7
-rw-r--r--buildscripts/smoke_config/with_server.yaml15
16 files changed, 0 insertions, 290 deletions
diff --git a/buildscripts/smoke_config/__init__.py b/buildscripts/smoke_config/__init__.py
deleted file mode 100644
index 07736e7be49..00000000000
--- a/buildscripts/smoke_config/__init__.py
+++ /dev/null
@@ -1,26 +0,0 @@
-
-import os
-
-USER_CONFIG_DIRS = (os.path.split(__file__)[0], "~/.smoke_config")
-
-
-def get_named_configs(search_paths=USER_CONFIG_DIRS):
- """Extract named JSON configurations from specified paths."""
- named_configs = {}
- for search_path in search_paths:
-
- search_path = os.path.expanduser(search_path)
- if not os.path.isdir(search_path):
- continue
-
- for path, dirnames, filenames in os.walk(search_path):
-
- for filename in filenames:
-
- filebase, ext = os.path.splitext(filename)
- if ext != ".json" and ext != ".yaml" and ext != ".yml":
- continue
-
- named_configs[filebase] = os.path.abspath(os.path.join(path, filename))
-
- return named_configs
diff --git a/buildscripts/smoke_config/auth.yaml b/buildscripts/smoke_config/auth.yaml
deleted file mode 100644
index 9f4660fa831..00000000000
--- a/buildscripts/smoke_config/auth.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-# Options to set for authorization with a mongod host
-suite:
- exclude_tags:
- - ^auth_internal$
-
-executor:
- fixtures:
- mongodb_server:
- mongod_options:
- auth: ''
- keyFile: ./jstests/libs/authTestsKey
- set_parameters:
- enableLocalhostAuthBypass: false
- shell_globals:
- TestData:
- auth: true
- authMechanism: SCRAM-SHA-1
- keyFile: ./jstests/lib/authTestsKey
- keyFileData: Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly
- testers:
- js_test:
- shell_options:
- authenticationDatabase: local
- authenticationMechanism: SCRAM-SHA-1
- password: Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly
- username: __system
-
diff --git a/buildscripts/smoke_config/auth_shell.yaml b/buildscripts/smoke_config/auth_shell.yaml
deleted file mode 100644
index b89b776cfd8..00000000000
--- a/buildscripts/smoke_config/auth_shell.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-# Options to set for authorization with a mongod host
-suite:
- exclude_tags:
- - ^auth_internal$
-
-executor:
- fixtures:
- shell_globals:
- TestData:
- auth: true
- authMechanism: SCRAM-SHA-1
- keyFile: ./jstests/lib/authTestsKey
- keyFileData: Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly
- testers:
- js_test:
- shell_options:
- authenticationDatabase: local
- authenticationMechanism: SCRAM-SHA-1
- password: Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly
- username: __system
-
diff --git a/buildscripts/smoke_config/disk.yaml b/buildscripts/smoke_config/disk.yaml
deleted file mode 100644
index cec6897d03c..00000000000
--- a/buildscripts/smoke_config/disk.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Disk tests
-tests:
- roots:
- - ./jstests/disk/*.js
-executor:
- fixtures:
- shell_globals:
- fixture_class: smoke.GlobalShellFixture
- testers:
- jstest: {}
-
diff --git a/buildscripts/smoke_config/executor_default.yaml b/buildscripts/smoke_config/executor_default.yaml
deleted file mode 100644
index bb4b80b484e..00000000000
--- a/buildscripts/smoke_config/executor_default.yaml
+++ /dev/null
@@ -1,9 +0,0 @@
-executor:
- fixtures: {}
-
- testers:
- # Test runners for the suite
-
- js_test: {}
- db_test: {}
- exe_test: {}
diff --git a/buildscripts/smoke_config/jscore.yaml b/buildscripts/smoke_config/jscore.yaml
deleted file mode 100644
index c34e9bc6608..00000000000
--- a/buildscripts/smoke_config/jscore.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-tests:
- # JSCore root
- roots:
- - ./jstests/core/*.js
-
-executor:
-
- fixtures:
-
- # Single MongoD running in background
- mongodb_server:
- fixture_class: smoke.SingleMongoDFixture
- mongod_options:
- nopreallocj: ''
-
- # Global shell context
- shell_globals:
- fixture_class: smoke.GlobalShellFixture
-
- testers:
- js_test: {}
diff --git a/buildscripts/smoke_config/log_console.yaml b/buildscripts/smoke_config/log_console.yaml
deleted file mode 100644
index 2f7ea9deca1..00000000000
--- a/buildscripts/smoke_config/log_console.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-logging:
- version: 1
-
- handlers:
- default:
- level: INFO
- class: logging.StreamHandler
-
- loggers:
- "":
- handlers:
- - default
- level: INFO
- propagate: True
-
- \ No newline at end of file
diff --git a/buildscripts/smoke_config/log_default.yaml b/buildscripts/smoke_config/log_default.yaml
deleted file mode 100644
index 4165954c075..00000000000
--- a/buildscripts/smoke_config/log_default.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-suite: {}
-executor:
- fail_fast: false
- fixtures:
- shell_globals:
- fixture_class: smoke.GlobalShellFixture
- testers:
- db_test: {}
- exe_test: {}
- js_test: {}
-logging:
- disable_existing_loggers: true
- formatters:
- standard:
- format: '%(asctime)s [%(levelname)s] %(name)s: %(message)s'
- handlers:
- fixtures:
- class: logging.FileHandler
- filename: ./fixtures.log
- level: INFO
- mode: w
- testers:
- class: logging.FileHandler
- filename: ./tests.log
- level: INFO
- mode: w
- loggers:
- executor.fixtures:
- handlers:
- - fixtures
- level: INFO
- propagate: false
- executor.testers:
- handlers:
- - testers
- level: INFO
- propagate: false
- version: 1
-
diff --git a/buildscripts/smoke_config/log_file.yaml b/buildscripts/smoke_config/log_file.yaml
deleted file mode 100644
index a5e8b089596..00000000000
--- a/buildscripts/smoke_config/log_file.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-suite: {}
-executor:
- fail_fast: false
- fixtures:
- shell_globals:
- fixture_class: smoke.GlobalShellFixture
- testers:
- db_test: {}
- exe_test: {}
- js_test: {}
-logging:
- disable_existing_loggers: true
- formatters:
- standard:
- format: '%(asctime)s [%(levelname)s] %(name)s: %(message)s'
- handlers:
- fixtures:
- class: logging.FileHandler
- filename: ./fixtures.log
- level: INFO
- mode: w
- testers:
- class: logging.FileHandler
- filename: ./testers.log
- level: INFO
- mode: w
- loggers:
- executor.fixtures:
- handlers:
- - fixtures
- level: INFO
- propagate: false
- executor.testers:
- handlers:
- - testers
- level: INFO
- propagate: false
- version: 1
-
diff --git a/buildscripts/smoke_config/log_suppress.yaml b/buildscripts/smoke_config/log_suppress.yaml
deleted file mode 100644
index 668912bfefb..00000000000
--- a/buildscripts/smoke_config/log_suppress.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-suite: {}
-executor:
- fail_fast: false
- fixtures:
- shell_globals:
- fixture_class: smoke.GlobalShellFixture
- testers:
- db_test: {}
- exe_test: {}
- js_test: {}
-logging:
- handlers:
- default:
- class: logging.NullHandler
- loggers:
- ? ''
- : handlers:
- - default
- version: 1
-
diff --git a/buildscripts/smoke_config/master_slave.yaml b/buildscripts/smoke_config/master_slave.yaml
deleted file mode 100644
index 362f300ef75..00000000000
--- a/buildscripts/smoke_config/master_slave.yaml
+++ /dev/null
@@ -1,8 +0,0 @@
-# Options for master/slave (small oplog) tests
-executor:
- fixtures:
- mongodb_server:
- fixture_class: smoke.MasterSlaveFixture
- master_options:
- oplogSize: 100
- slave_options: {}
diff --git a/buildscripts/smoke_config/no_server.yaml b/buildscripts/smoke_config/no_server.yaml
deleted file mode 100644
index 3075d45a05b..00000000000
--- a/buildscripts/smoke_config/no_server.yaml
+++ /dev/null
@@ -1,9 +0,0 @@
-executor:
- fixtures:
-
- # Global shell context
- shell_globals:
- fixture_class: smoke.GlobalShellFixture
-
- testers:
- js_test: {}
diff --git a/buildscripts/smoke_config/replicasets.yaml b/buildscripts/smoke_config/replicasets.yaml
deleted file mode 100644
index 316b5e47ac3..00000000000
--- a/buildscripts/smoke_config/replicasets.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Replica set tests
-tests:
- roots:
- - ./jstests/replsets/*.js
-executor:
- fixtures:
- shell_globals:
- fixture_class: smoke.GlobalShellFixture
- testers:
- jstest: {}
-
diff --git a/buildscripts/smoke_config/sharding.yaml b/buildscripts/smoke_config/sharding.yaml
deleted file mode 100644
index 1ca5f31a5e2..00000000000
--- a/buildscripts/smoke_config/sharding.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Sharding tests
-tests:
- roots:
- - ./jstests/sharding/*.js
-executor:
- fixtures:
- shell_globals:
- fixture_class: smoke.GlobalShellFixture
- testers:
- jstest: {}
-
diff --git a/buildscripts/smoke_config/unittests.yaml b/buildscripts/smoke_config/unittests.yaml
deleted file mode 100644
index b127a79bdf9..00000000000
--- a/buildscripts/smoke_config/unittests.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-tests:
- # Generated by SCons
- roots:
- - build/unittests.json
-executor:
- testers:
- exe_test: {}
diff --git a/buildscripts/smoke_config/with_server.yaml b/buildscripts/smoke_config/with_server.yaml
deleted file mode 100644
index 4ea65b57f55..00000000000
--- a/buildscripts/smoke_config/with_server.yaml
+++ /dev/null
@@ -1,15 +0,0 @@
-executor:
- fixtures:
-
- # Single MongoD running in background
- mongodb_server:
- fixture_class: smoke.SingleMongoDFixture
- mongod_options:
- nopreallocj: ''
-
- # Global shell context
- shell_globals:
- fixture_class: smoke.GlobalShellFixture
-
- testers:
- js_test: {}