From 6a617a7b23f181303ff34c45af69625228d5e497 Mon Sep 17 00:00:00 2001 From: "jkummerow@chromium.org" Date: Mon, 24 Sep 2012 09:57:16 +0000 Subject: [PATCH] Speed up test/mjsunit/d8-os by reducing sleep times Review URL: https://codereview.chromium.org/10973003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12585 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/mjsunit/d8-os.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/mjsunit/d8-os.js b/test/mjsunit/d8-os.js index 239938c..f6b9839 100644 --- a/test/mjsunit/d8-os.js +++ b/test/mjsunit/d8-os.js @@ -129,13 +129,13 @@ if (this.os && os.system) { 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); } -- 2.7.4