# This target should not use a native compiler at all
# Related CI job: node-test-commit-arm-fanned
test-ci-js: | clear-stalled
- $(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \
+ $(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap \
--mode=$(BUILDTYPE_LOWER) --flaky-tests=$(FLAKY_TESTS) \
--skip-tests=$(CI_SKIP_TESTS) \
$(TEST_CI_ARGS) $(CI_JS_SUITES)
function platformTimeout(ms) {
const multipliers = typeof ms === 'bigint' ?
- { two: 2n, four: 4n, seven: 7n } : { two: 2, four: 4, seven: 7 };
+ { fast: 2n, slow: 4n } : { fast: 3, slow: 5 };
+
+ if (process.arch.startsWith('arm') || process.arch.startsWith('mips') || process.arch.startsWith('riscv'))
+ ms = multipliers.slow * ms;
+ else
+ ms = multipliers.fast * ms;
if (process.features.debug)
- ms = multipliers.two * ms;
-
- if (exports.isAIX || exports.isIBMi)
- return multipliers.two * ms; // Default localhost speed is slower on AIX
-
- if (isPi)
- return multipliers.two * ms; // Raspberry Pi devices
+ ms = multipliers.slow * ms;
return ms;
}
def should_keep(case):
if any((s in case.file) for s in options.skip_tests):
- return False
+ case.outcomes.add(FLAKY)
+ return True
elif SKIP in case.outcomes:
return False
elif (options.flaky_tests == SKIP) and (set([SLOW, FLAKY]) & case.outcomes):