Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(768)

Unified Diff: runtime/vm/os_test.cc

Issue 12330139: Increase timeout jitter (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_test.cc
diff --git a/runtime/vm/os_test.cc b/runtime/vm/os_test.cc
index a64fc824df682c488d54bc23ff60173c8714ed3d..ff577b4725bbbc5520bf8d04d812b417f3b66c19 100644
--- a/runtime/vm/os_test.cc
+++ b/runtime/vm/os_test.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -15,7 +15,7 @@ UNIT_TEST_CASE(Sleep) {
int64_t sleep_time = 702;
OS::Sleep(sleep_time);
int64_t delta = OS::GetCurrentTimeMillis() - start_time;
- const int kAcceptableSleepWakeupJitter = 100; // Measured in milliseconds.
+ const int kAcceptableSleepWakeupJitter = 200; // Measured in milliseconds.
EXPECT_GE(delta, sleep_time - kAcceptableSleepWakeupJitter);
EXPECT_LE(delta, sleep_time + kAcceptableSleepWakeupJitter);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698