summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2022-01-11 12:07:42 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-11 01:44:40 +0000
commit6afc10d8e11f3a712bd1ded7e9c966fbf71e1913 (patch)
tree42c94f86492aac37767794ff7031e3be178bdd07
parent3ff9871a6d1abbeb22ad551f65f81db54b13e983 (diff)
downloadmongo-6afc10d8e11f3a712bd1ded7e9c966fbf71e1913.tar.gz
Import wiredtiger: 10a31dcae6b251e3e3efdfd1e73850158a1cdced from branch mongodb-5.2
ref: ace6b2c0f9..10a31dcae6 for: 5.2.0-rc5 WT-8517 Create a function to execute smoke scripts in evergreen.yml
-rw-r--r--src/third_party/wiredtiger/import.data2
-rwxr-xr-xsrc/third_party/wiredtiger/test/evergreen.yml80
2 files changed, 32 insertions, 50 deletions
diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data
index 07cfe056725..4b43264d02f 100644
--- a/src/third_party/wiredtiger/import.data
+++ b/src/third_party/wiredtiger/import.data
@@ -2,5 +2,5 @@
"vendor": "wiredtiger",
"github": "wiredtiger/wiredtiger.git",
"branch": "mongodb-5.2",
- "commit": "ace6b2c0f9307ff4cdce339722f0d721fe88d39b"
+ "commit": "10a31dcae6b251e3e3efdfd1e73850158a1cdced"
}
diff --git a/src/third_party/wiredtiger/test/evergreen.yml b/src/third_party/wiredtiger/test/evergreen.yml
index e2f525e3563..077335948ae 100755
--- a/src/third_party/wiredtiger/test/evergreen.yml
+++ b/src/third_party/wiredtiger/test/evergreen.yml
@@ -609,6 +609,15 @@ functions:
${test_env_vars|} ${python_binary} ../../../bench/perf_run_py/perf_run.py --${test_type|wtperf} -e ${exec_path|./wtperf} -t ${perf-test-path|../../../bench/wtperf/runners}/${perf-test-name} -ho WT_TEST -m ${maxruns} -g "../.." -v -i "$JSON_TASK_INFO" -b -o test_stats/evergreen_out_${perf-test-name}.json ${wtarg}
${test_env_vars|} ${python_binary} ../../../bench/perf_run_py/perf_run.py --${test_type|wtperf} -e ${exec_path|./wtperf} -t ${perf-test-path|../../../bench/wtperf/runners}/${perf-test-name} -ho WT_TEST -m ${maxruns} -g "../.." -v -i "$JSON_TASK_INFO" -re -o test_stats/atlas_out_${perf-test-name}.json ${wtarg}
+ "csuite smoke test":
+ command: shell.exec
+ params:
+ working_dir: "wiredtiger"
+ script: |
+ set -o errexit
+ set -o verbose
+ ${test_env_vars|} test/csuite/${test_binary}/smoke.sh ${test_args|} 2>&1
+
"upload-perf-test-stats":
- command: shell.exec
params:
@@ -1147,14 +1156,9 @@ tasks:
- name: compile
commands:
- func: "fetch artifacts"
- - command: shell.exec
- params:
- working_dir: "wiredtiger/build_posix"
- script: |
- set -o errexit
- set -o verbose
-
- ${test_env_vars|} $(pwd)/../test/csuite/random_abort/smoke.sh 2>&1
+ - func: "csuite smoke test"
+ vars:
+ test_binary: random_abort
- name: csuite-random-directio-test
tags: ["pull_request"]
@@ -1162,14 +1166,9 @@ tasks:
- name: compile
commands:
- func: "fetch artifacts"
- - command: shell.exec
- params:
- working_dir: "wiredtiger/build_posix"
- script: |
- set -o errexit
- set -o verbose
-
- ${test_env_vars|} $(pwd)/../test/csuite/random_directio/smoke.sh 2>&1
+ - func: "csuite smoke test"
+ vars:
+ test_binary: random_directio
- name: csuite-schema-abort-test
tags: ["pull_request"]
@@ -1177,14 +1176,9 @@ tasks:
- name: compile
commands:
- func: "fetch artifacts"
- - command: shell.exec
- params:
- working_dir: "wiredtiger/build_posix"
- script: |
- set -o errexit
- set -o verbose
-
- ${test_env_vars|} $(pwd)/../test/csuite/schema_abort/smoke.sh 2>&1
+ - func: "csuite smoke test"
+ vars:
+ test_binary: schema_abort
- name: csuite-tiered-abort-test
tags: ["pull_request"]
@@ -1192,14 +1186,9 @@ tasks:
- name: compile
commands:
- func: "fetch artifacts"
- - command: shell.exec
- params:
- working_dir: "wiredtiger/build_posix"
- script: |
- set -o errexit
- set -o verbose
-
- ${test_env_vars|} $(pwd)/../test/csuite/tiered_abort/smoke.sh 2>&1
+ - func: "csuite smoke test"
+ vars:
+ test_binary: tiered_abort
- name: csuite-timestamp-abort-test
tags: ["pull_request"]
@@ -1207,14 +1196,9 @@ tasks:
- name: compile
commands:
- func: "fetch artifacts"
- - command: shell.exec
- params:
- working_dir: "wiredtiger/build_posix"
- script: |
- set -o errexit
- set -o verbose
-
- ${test_env_vars|} $(pwd)/../test/csuite/timestamp_abort/smoke.sh 2>&1
+ - func: "csuite smoke test"
+ vars:
+ test_binary: timestamp_abort
- name: csuite-timestamp-abort-stress-test
tags: ["pull_request"]
@@ -1222,14 +1206,10 @@ tasks:
- name: compile
commands:
- func: "fetch artifacts"
- - command: shell.exec
- params:
- working_dir: "wiredtiger/build_posix"
- script: |
- set -o errexit
- set -o verbose
-
- ${test_env_vars|} $(pwd)/../test/csuite/timestamp_abort/smoke.sh -s 2>&1
+ - func: "csuite smoke test"
+ vars:
+ test_args: -s
+ test_binary: timestamp_abort
- name: csuite-scope-test
tags: ["pull_request"]
@@ -2414,8 +2394,10 @@ tasks:
set -o errexit
set -o verbose
# ${test_env_vars|} $(pwd)/../test/csuite/random_abort/smoke.sh 2>&1
- ${test_env_vars|} $(pwd)/../test/csuite/timestamp_abort/smoke.sh 2>&1
${test_env_vars|} $(pwd)/test/csuite/test_truncated_log 2>&1
+ - func: "csuite smoke test"
+ vars:
+ test_binary: timestamp_abort
- name: long-test
commands: