Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
nodejs4
flaky_test_rerun.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File flaky_test_rerun.patch of Package nodejs4
Index: node-v4.9.1/tools/test.py =================================================================== --- node-v4.9.1.orig/tools/test.py +++ node-v4.9.1/tools/test.py @@ -480,10 +480,16 @@ 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) + if output.exit_code == 0: + break; + print("FLAKY rerun: ", command) self.Cleanup() return TestOutput(self, full_command,
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