Skip to content

Commit 624802a

Browse files
committed
GODRIVER-3622 Automatically retry some test tasks.
1 parent 0c9c840 commit 624802a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.evergreen/config.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ functions:
195195

196196
run-tests:
197197
- command: subprocess.exec
198-
type: test
199198
params:
200199
binary: bash
201200
env:
@@ -204,6 +203,7 @@ functions:
204203
args: [*task-runner, setup-test]
205204
- command: subprocess.exec
206205
type: test
206+
retry_on_failure: true
207207
params:
208208
binary: bash
209209
args: [*task-runner, "${DEFAULT_TASK}" ]
@@ -300,7 +300,6 @@ functions:
300300
params:
301301
role_arn: "${aws_test_secrets_role}"
302302
- command: subprocess.exec
303-
type: test
304303
params:
305304
binary: bash
306305
include_expansions_in_env: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
@@ -318,7 +317,6 @@ functions:
318317
params:
319318
role_arn: "${aws_test_secrets_role}"
320319
- command: subprocess.exec
321-
type: test
322320
params:
323321
binary: bash
324322
include_expansions_in_env: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
@@ -336,7 +334,6 @@ functions:
336334
params:
337335
role_arn: "${aws_test_secrets_role}"
338336
- command: subprocess.exec
339-
type: test
340337
params:
341338
binary: bash
342339
include_expansions_in_env: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
@@ -351,7 +348,6 @@ functions:
351348

352349
run-ocsp-test:
353350
- command: subprocess.exec
354-
type: test
355351
params:
356352
binary: bash
357353
env:
@@ -369,7 +365,6 @@ functions:
369365

370366
run-versioned-api-test:
371367
- command: subprocess.exec
372-
type: test
373368
params:
374369
binary: bash
375370
env:
@@ -385,7 +380,6 @@ functions:
385380

386381
run-load-balancer-tests:
387382
- command: subprocess.exec
388-
type: test
389383
params:
390384
binary: bash
391385
include_expansions_in_env: [SINGLE_MONGOS_LB_URI, MULTI_MONGOS_LB_URI, AUTH, SSL, MONGO_GO_DRIVER_COMPRESSOR]
@@ -400,7 +394,6 @@ functions:
400394

401395
run-atlas-data-lake-test:
402396
- command: subprocess.exec
403-
type: test
404397
params:
405398
binary: "bash"
406399
env:
@@ -582,7 +575,6 @@ functions:
582575

583576
run-kms-tls-test:
584577
- command: subprocess.exec
585-
type: test
586578
params:
587579
binary: "bash"
588580
env:
@@ -599,7 +591,6 @@ functions:
599591

600592
run-kmip-tests:
601593
- command: subprocess.exec
602-
type: test
603594
params:
604595
binary: "bash"
605596
env:
@@ -617,7 +608,6 @@ functions:
617608

618609
run-retry-kms-requests:
619610
- command: subprocess.exec
620-
type: test
621611
params:
622612
binary: "bash"
623613
env:

0 commit comments

Comments
 (0)