Skip to content

Commit 626e2a5

Browse files
committed
add test runner in evergreen
1 parent 3bf91cd commit 626e2a5

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

.evergreen/config.in.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,18 @@ functions:
113113
args:
114114
- .evergreen/run-tests.sh
115115

116+
"run runtime independency tests":
117+
- <<: *assume_secrets_manager_role
118+
- command: subprocess.exec
119+
type: test
120+
params:
121+
add_expansions_to_env: true
122+
working_dir: "src"
123+
timeout_secs: 300
124+
binary: bash
125+
args:
126+
- .evergreen/run-runtime-independency-tests.sh
127+
116128
"perf send":
117129
- command: s3.put
118130
params:

.evergreen/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,19 @@ functions:
8888
binary: bash
8989
args:
9090
- .evergreen/run-tests.sh
91+
run runtime independency tests:
92+
- command: ec2.assume_role
93+
params:
94+
role_arn: ${DRIVERS_SECRETS_ARN}
95+
- command: subprocess.exec
96+
type: test
97+
params:
98+
add_expansions_to_env: true
99+
working_dir: src
100+
timeout_secs: 300
101+
binary: bash
102+
args:
103+
- .evergreen/run-runtime-independency-tests.sh
91104
perf send:
92105
- command: s3.put
93106
params:

test/tools/runner/vm_runner.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ const sandbox = vm.createContext({
6666
URL: global.URL,
6767
URLSearchParams: global.URLSearchParams,
6868
queueMicrotask: queueMicrotask,
69+
performance: global.performance,
6970

7071
process: process,
7172
Buffer: Buffer,

0 commit comments

Comments
 (0)