Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
nodejs10.10493
flaky_test_rerun.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File flaky_test_rerun.patch of Package nodejs10.10493
diff --git a/tools/test.py b/tools/test.py index 67b8cb917e..51aaa3f8e0 100755 --- a/tools/test.py +++ b/tools/test.py @@ -512,11 +512,17 @@ class TestCase(object): def RunCommand(self, command, env): full_command = self.context.processor(command) - output = Execute(full_command, + reruns = 0 + while(reruns < 5): + reruns += 1 + output = Execute(full_command, self.context, self.context.GetTimeout(self.mode), env, disable_core_files = self.disable_core_files) + if output.exit_code == 0: + break; + print("FLAKY rerun: ", command) return TestOutput(self, full_command, output,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor