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
parent cf0cae7e
...@@ -129,13 +129,13 @@ if (this.os && os.system) { ...@@ -129,13 +129,13 @@ if (this.os && os.system) {
have_echo = false; have_echo = false;
} }
if (have_sleep) { 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. // 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. // Check that -1 means no timeout.
os.system('sleep', ['1'], -1, -1); os.system('sleep', ['0.1'], -1, -1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment