* deps: Fixed a bug in npm 6.12.0 where warnings are emitted on Node.js 13.x * esm: Changed file extension resolution order of --es-module-specifier-resolution=node to match that of the CommonJS loader - Changes in version 13.0.0: * assert: + If the validation function passed to assert.throws() or assert.rejects() returns a value other than true, an assertion error will be thrown instead of the original error to highlight the programming mistake + If a constructor function is passed to validate the instance of errors thrown in assert.throws() or assert.reject(), an assertion error will be thrown instead of the original error * child_process: ChildProcess._channel (DEP0129) is now a Runtime deprecation * console: The output console.timeEnd() and console.timeLog() will now automatically select a suitable time unit instead of always using milliseconds * deps: The V8 engine was updated to version 7.8. * domain: The domain's error handler is now executed with the active domain set to the domain's parent to prevent inner recursion * fs: + The undocumented method FSWatcher.prototype.start() was removed + Calling the open() method on a ReadStream or WriteStream now emits a runtime deprecation warning. This is an internal method that should not be used by user code. + fs.read/write, fs.readSync/writeSync and fd.read/write now OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs13?expand=0&rev=1
22 lines
688 B
Diff
22 lines
688 B
Diff
Index: node-git.b4f0a18b5a/tools/test.py
|
|
===================================================================
|
|
--- node-git.b4f0a18b5a.orig/tools/test.py
|
|
+++ node-git.b4f0a18b5a/tools/test.py
|
|
@@ -537,6 +537,16 @@ class TestCase(object):
|
|
self.context.store_unexpected_output)
|
|
|
|
def Run(self):
|
|
+ reruns = 0
|
|
+ while (reruns < 5):
|
|
+ reruns += 1
|
|
+ result = self.OriginalRun()
|
|
+ if (not result.HasFailed()):
|
|
+ break
|
|
+ print("FLAKY TEST rerun: ", self.GetCommand())
|
|
+ return result
|
|
+
|
|
+ def OriginalRun(self):
|
|
try:
|
|
result = self.RunCommand(self.GetCommand(), {
|
|
"TEST_SERIAL_ID": "%d" % self.serial_id,
|