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

Unified Diff: tools/xdisplaycheck/xdisplaycheck.cc

Issue 10008101: Increase maximum sleep time. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 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: tools/xdisplaycheck/xdisplaycheck.cc
===================================================================
--- tools/xdisplaycheck/xdisplaycheck.cc (revision 132119)
+++ tools/xdisplaycheck/xdisplaycheck.cc (working copy)
@@ -3,11 +3,11 @@
// found in the LICENSE file.
//
// This is a small program that tries to connect to the X server. It
-// continually retries until it connects or 5 seconds pass. If it fails
-// to connect to the X server after 5 seconds, it returns an error code
-// of -1.
+// continually retries until it connects or 30 seconds pass. If it fails
+// to connect to the X server or fails to find needed functiona, it returns
+// an error code of -1.
//
-// This is to help verify that the X server is available before we start
+// This is to help verify that a useful X server is available before we start
// start running tests on the build bots.
#include <errno.h>
@@ -34,7 +34,7 @@
}
int main(int argc, char* argv[]) {
- int kNumTries = 50; // 49*48/2 * 10 = 12.25s of waiting
+ int kNumTries = 78; // 78*77/2 * 10 = 30s of waiting
Display* display = NULL;
int tries;
for (tries = 0; tries < kNumTries; ++tries) {
« 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