зеркало из https://github.com/electron/electron.git
test: mark some node specs as flaky (#37181)
This commit is contained in:
Родитель
df6f99aa72
Коммит
8783d03a59
|
@ -34,3 +34,4 @@ fix_expose_lookupandcompile_with_parameters.patch
|
||||||
fix_prevent_changing_functiontemplateinfo_after_publish.patch
|
fix_prevent_changing_functiontemplateinfo_after_publish.patch
|
||||||
enable_crashpad_linux_node_processes.patch
|
enable_crashpad_linux_node_processes.patch
|
||||||
allow_embedder_to_control_codegenerationfromstringscallback.patch
|
allow_embedder_to_control_codegenerationfromstringscallback.patch
|
||||||
|
test_mark_cpu_prof_tests_as_flaky_in_electron.patch
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Samuel Attard <samuel.r.attard@gmail.com>
|
||||||
|
Date: Wed, 8 Feb 2023 02:54:05 -0800
|
||||||
|
Subject: test: mark cpu prof tests as flaky in electron
|
||||||
|
|
||||||
|
Instead of disabling the tests, flag them as flaky so they still run
|
||||||
|
but don't cause CI failures on flakes.
|
||||||
|
|
||||||
|
diff --git a/test/sequential/sequential.status b/test/sequential/sequential.status
|
||||||
|
index 5d88747b7066ce795b091eaaec2a5653f42b2c26..e3c7b531bc519bc97f363a1d4e7df2f059b11614 100644
|
||||||
|
--- a/test/sequential/sequential.status
|
||||||
|
+++ b/test/sequential/sequential.status
|
||||||
|
@@ -7,6 +7,15 @@ prefix sequential
|
||||||
|
[true] # This section applies to all platforms
|
||||||
|
# https://github.com/nodejs/node/issues/27611#issuecomment-613100468
|
||||||
|
test-cpu-prof-dir-worker: PASS, FLAKY
|
||||||
|
+test-cpu-prof-dir-and-name: PASS, FLAKY
|
||||||
|
+test-cpu-prof-worker-argv: PASS, FLAKY
|
||||||
|
+test-cpu-prof-default: PASS, FLAKY
|
||||||
|
+test-cpu-prof-dir-absolute: PASS, FLAKY
|
||||||
|
+test-cpu-prof-dir-relative: PASS, FLAKY
|
||||||
|
+test-cpu-prof-exit: PASS, FLAKY
|
||||||
|
+test-cpu-prof-name: PASS, FLAKY
|
||||||
|
+test-worker-prof: PASS, FLAKY
|
||||||
|
+test-inspector-stop-profile-after-done: PASS, FLAKY
|
||||||
|
# https://github.com/nodejs/node/issues/44898
|
||||||
|
test-watch-mode: PASS, FLAKY
|
||||||
|
test-watch-mode-inspect: PASS, FLAKY
|
|
@ -29,6 +29,7 @@ const defaultOptions = [
|
||||||
'default',
|
'default',
|
||||||
`--skip-tests=${DISABLED_TESTS.join(',')}`,
|
`--skip-tests=${DISABLED_TESTS.join(',')}`,
|
||||||
'--flaky-tests=dontcare',
|
'--flaky-tests=dontcare',
|
||||||
|
'--measure-flakiness=9',
|
||||||
'--shell',
|
'--shell',
|
||||||
utils.getAbsoluteElectronExec(),
|
utils.getAbsoluteElectronExec(),
|
||||||
'-J'
|
'-J'
|
||||||
|
|
Загрузка…
Ссылка в новой задаче