From 726a7ca3a4724b3de72083ae43118f0317fc7d71 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 28 Sep 2023 16:22:12 +0100 Subject: [PATCH] windows: measure flakiness of failed tests (#3056) Refs: https://github.com/nodejs/node/pull/43954 --- jenkins/scripts/windows/node-test-binary-windows-js-suites.cmd | 3 ++- .../scripts/windows/node-test-binary-windows-native-suites.cmd | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/jenkins/scripts/windows/node-test-binary-windows-js-suites.cmd b/jenkins/scripts/windows/node-test-binary-windows-js-suites.cmd index 3408b3443..75ef854b9 100644 --- a/jenkins/scripts/windows/node-test-binary-windows-js-suites.cmd +++ b/jenkins/scripts/windows/node-test-binary-windows-js-suites.cmd @@ -6,8 +6,9 @@ call %~dp0git-checkout.cmd if errorlevel 1 exit /b :: Run tests -set "test_ci_args=--run=%RUN_SUBSET%,4" +set "test_ci_args=--run=%RUN_SUBSET%,4 --measure-flakiness 9" set VCBUILD_TARGET=test-ci-js +set FLAKY_TESTS=keep_retrying call %~dp0test.cmd if errorlevel 1 exit /b diff --git a/jenkins/scripts/windows/node-test-binary-windows-native-suites.cmd b/jenkins/scripts/windows/node-test-binary-windows-native-suites.cmd index e9c505ca8..f5baeab60 100644 --- a/jenkins/scripts/windows/node-test-binary-windows-native-suites.cmd +++ b/jenkins/scripts/windows/node-test-binary-windows-native-suites.cmd @@ -6,8 +6,9 @@ call %~dp0git-checkout.cmd if errorlevel 1 exit /b :: Run tests -set "test_ci_args=" +set "test_ci_args=--measure-flakiness 9" set VCBUILD_TARGET=test-ci-native +set FLAKY_TESTS=keep_retrying call %~dp0test.cmd if errorlevel 1 exit /b