From ef59a728778efb300204cb21c71f321e1c04ed9d Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 26 Jul 2023 22:07:37 +0300 Subject: [PATCH] ci: mark vlib/v/gen/js/program_test.v as flaky (it is failing sporadically on macos, but only on the CI :-| ) --- vlib/v/gen/js/program_test.v | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vlib/v/gen/js/program_test.v b/vlib/v/gen/js/program_test.v index 7c8125b0f6..bf4c2f37a2 100644 --- a/vlib/v/gen/js/program_test.v +++ b/vlib/v/gen/js/program_test.v @@ -1,3 +1,5 @@ +// vtest flaky: true +// vtest retry: 4 import os import term import rand @@ -10,6 +12,8 @@ const vroot = @VMODROOT const diff_cmd = find_diff_cmd() +const github_job = os.getenv('GITHUB_JOB') + fn find_diff_cmd() string { return diff.find_working_diff_command() or { '' } } @@ -33,6 +37,9 @@ fn test_node_exists() { exit_because('node should be at least version 10, but is currently version: ${version}') } println('Using node version: ${version}') + // if github_job != '' && os.user_os() == 'macos' { + // exit_because('program_test.v is flaky on macos') + //} } fn test_running_programs_compiled_with_the_js_backend() {