* intl: Update ICU to 64.2. * c++ API: Added an overload EmitAsyncDestroy that can be used during garbage collection - Notable changes in 12.0.0: * assert: + validate required arguments + adjust loose assertions * async_hooks: + remove deprecated emitBefore and emitAfter + remove promise object from resource * bootstrap: make Buffer and process non-enumerable * buffer: + use stricter range checks + harden SlowBuffer creation + harden validation of buffer allocation size + do proper error propagation in addon methods * child_process: + remove options.customFds + harden fork arguments validation + use non-infinite maxBuffer defaults * console: don't use ANSI escape codes when TERM=dumb * crypto: + remove legacy native handles + decode missing passphrase errors + remove Cipher.setAuthTag() and Decipher.getAuthTag() + remove deprecated crypto._toBuf() + set DEFAULT_ENCODING property to non-enumerable * deps: + update V8 to 7.4.288.13 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs12?expand=0&rev=1
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,
|