tools: add more options to track flaky tests · nodejs/node@a1d5209 · GitHub
Skip to content

Commit a1d5209

Browse files
aduh95danielleadams
authored andcommitted
tools: add more options to track flaky tests
Refs: #43929 (comment) PR-URL: #43954 Backport-PR-URL: #45126 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Feng Yu <F3n67u@outlook.com>
1 parent 98c49d8 commit a1d5209

7 files changed

Lines changed: 40 additions & 24 deletions

File tree

.github/workflows/build-tarball.yml

Lines changed: 3 additions & 4 deletions

.github/workflows/build-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
env:
1515
PYTHON_VERSION: '3.10'
16-
FLAKY_TESTS: dontcare
16+
FLAKY_TESTS: keep_retrying
1717

1818
jobs:
1919
build-windows:

.github/workflows/misc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
name: docs
3232
path: out/doc
3333
- name: Test
34-
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions"
34+
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions --measure-flakiness 9"

.github/workflows/test-asan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
env:
2121
PYTHON_VERSION: '3.10'
22-
FLAKY_TESTS: dontcare
22+
FLAKY_TESTS: keep_retrying
2323

2424
jobs:
2525
test-asan:
@@ -40,4 +40,4 @@ jobs:
4040
- name: Build
4141
run: make build-ci -j2 V=1
4242
- name: Test
43-
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions -t 300"
43+
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions -t 300 --measure-flakiness 9"

.github/workflows/test-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
env:
1515
PYTHON_VERSION: '3.10'
16-
FLAKY_TESTS: dontcare
16+
FLAKY_TESTS: keep_retrying
1717

1818
jobs:
1919
test-linux:
@@ -29,4 +29,4 @@ jobs:
2929
- name: Build
3030
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
3131
- name: Test
32-
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions"
32+
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"

.github/workflows/test-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
env:
2121
PYTHON_VERSION: '3.10'
22-
FLAKY_TESTS: dontcare
22+
FLAKY_TESTS: keep_retrying
2323

2424
jobs:
2525
test-macOS:
@@ -35,4 +35,4 @@ jobs:
3535
- name: Build
3636
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
3737
- name: Test
38-
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions"
38+
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"

tools/test.py

Lines changed: 29 additions & 12 deletions

0 commit comments

Comments
 (0)