* crypto: Allow deriving public from private keys * events: Added a once function to use EventEmitter with promises * tty: + Added a hasColors method to WriteStream + Added NO_COLOR and FORCE_COLOR support * v8: Added v8.getHeapSnapshot and v8.writeHeapSnapshot to generate snapshots in the format used by tools such as Chrome * worker: Added worker.moveMessagePortToContext * C++ API: + AddPromiseHook is now deprecated. + Added a Stop API to shut down Node.js while it is running - Changes in release 11.12.0: * bootstrap: Add experimental --frozen-intrinsics flag * deps: Upgrade openssl to 1.1.1b * process: Make process[Symbol.toStringTag] writable again * repl: Add util.inspect.replDefaults to customize the writer * report: Rename triggerReport() to writeReport() - fix_ci_tests.patch: add another exception for our OpenSSL library - versioned.patch: refresh OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs11?expand=0&rev=16
22 lines
670 B
Diff
22 lines
670 B
Diff
Index: node-v10.15.3/tools/test.py
|
|
===================================================================
|
|
--- node-v10.15.3.orig/tools/test.py
|
|
+++ node-v10.15.3/tools/test.py
|
|
@@ -539,6 +539,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_THREAD_ID": "%d" % self.thread_id,
|