[tracker] functional-tests: Time out after 5 seconds, instead of 30 seconds
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] functional-tests: Time out after 5 seconds, instead of 30 seconds
- Date: Sun, 11 Oct 2015 09:06:04 +0000 (UTC)
commit 5777aea40adfe8de1c390f1b0c4d305e5fe037c8
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Oct 11 10:55:23 2015 +0200
functional-tests: Time out after 5 seconds, instead of 30 seconds
Failing tests shouldn't take 30 seconds to fail. 5 seconds is still a
long time.
tests/functional-tests/common/utils/helpers.py | 2 +-
tests/functional-tests/common/utils/system.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/common/utils/helpers.py b/tests/functional-tests/common/utils/helpers.py
index aef8ab7..381adbd 100644
--- a/tests/functional-tests/common/utils/helpers.py
+++ b/tests/functional-tests/common/utils/helpers.py
@@ -32,7 +32,7 @@ import options
class NoMetadataException (Exception):
pass
-REASONABLE_TIMEOUT = 30
+REASONABLE_TIMEOUT = 5
def log (message):
if options.is_verbose ():
diff --git a/tests/functional-tests/common/utils/system.py b/tests/functional-tests/common/utils/system.py
index 879de56..717e65f 100644
--- a/tests/functional-tests/common/utils/system.py
+++ b/tests/functional-tests/common/utils/system.py
@@ -27,7 +27,7 @@ TEST_ENV_VARS = { "TRACKER_DISABLE_MEEGOTOUCH_LOCALE": "",
EXTRA_DIRS = [os.path.join (cfg.TEST_TMP_DIR, "data", "tracker"),
os.path.join (cfg.TEST_TMP_DIR, "cache", "tracker")]
-REASONABLE_TIMEOUT = 30
+REASONABLE_TIMEOUT = 5
class UnableToBootException (Exception):
pass
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]