Index: test/mjsunit/regress/regress-165637.js |
diff --git a/test/mjsunit/regress/regress-165637.js b/test/mjsunit/regress/regress-165637.js |
index 84c9041216cb6045c036054b67e470c7615f5639..b83bdc2aa149f2aeb416b86192cffd0b0a068d08 100644 |
--- a/test/mjsunit/regress/regress-165637.js |
+++ b/test/mjsunit/regress/regress-165637.js |
@@ -45,6 +45,10 @@ function do_slices() { |
return Date.now() - start; |
} |
+// Reset the GC interval to be off. Needed so that the runtime of this test |
+// stays within bounds even if we run in GC stress mode. |
+%SetFlags("--gc-interval=-1"); |
+ |
// Should never take more than 3 seconds (if the bug is fixed, the test takes |
// considerably less time than 3 seconds). |
assertTrue(do_slices() < (3 * 1000)); |