Revision: 12585
Author:   [email protected]
Date:     Mon Sep 24 02:57:16 2012
Log:      Speed up test/mjsunit/d8-os by reducing sleep times

Review URL: https://codereview.chromium.org/10973003
http://code.google.com/p/v8/source/detail?r=12585

Modified:
 /branches/bleeding_edge/test/mjsunit/d8-os.js

=======================================
--- /branches/bleeding_edge/test/mjsunit/d8-os.js       Thu Feb  9 01:52:38 2012
+++ /branches/bleeding_edge/test/mjsunit/d8-os.js       Mon Sep 24 02:57:16 2012
@@ -129,13 +129,13 @@
       have_echo = false;
     }
     if (have_sleep) {
-      assertThrows("os.system('sleep', ['2000'], 200);", "sleep 1");
+      assertThrows("os.system('sleep', ['2000'], 20);", "sleep 1");

       // Check we time out with total time.
-      assertThrows("os.system('sleep', ['2000'], -1, 200);", "sleep 2");
+      assertThrows("os.system('sleep', ['2000'], -1, 20);", "sleep 2");

       // Check that -1 means no timeout.
-      os.system('sleep', ['1'], -1, -1);
+      os.system('sleep', ['0.1'], -1, -1);

     }

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to