summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/xorg/gtest/xorg-gtest-xserver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xorg/gtest/xorg-gtest-xserver.h b/include/xorg/gtest/xorg-gtest-xserver.h
index 90784e7..8721b94 100644
--- a/include/xorg/gtest/xorg-gtest-xserver.h
+++ b/include/xorg/gtest/xorg-gtest-xserver.h
@@ -80,7 +80,7 @@ class XServer : public xorg::testing::Process {
* @returns true if termination succeeded and, if a timout is given, the
* process shut down within that timeout. false otherwise.
*/
- virtual bool Terminate(unsigned int timeout = 0);
+ virtual bool Terminate(unsigned int timeout = 1000);
/**
* Kills the server. With a vengeance.
@@ -92,7 +92,7 @@ class XServer : public xorg::testing::Process {
* @returns true if kill succeeded and, if a timout is given, the
* process shut down within that timeout. false otherwise.
*/
- virtual bool Kill(unsigned int timeout = 0);
+ virtual bool Kill(unsigned int timeout = 1000);
/**
* Remove the log file used by this server. By default, this function