File qemu_timeouts_arches.patch of Package nodejs22

Index: node-v22.10.0/test/common/index.js
===================================================================
--- node-v22.10.0.orig/test/common/index.js
+++ node-v22.10.0/test/common/index.js
@@ -293,6 +293,9 @@ function platformTimeout(ms) {
     return multipliers.four * ms;
   }
 
+  if (process.arch === 'riscv64') // usermode qemu slow
+    return multipliers.seven * ms;
+
   return ms;
 }
 
openSUSE Build Service is sponsored by