[tracker/sam/diagrams: 8/9] functional-tests: Show output of `tracker daemon status` on timeout
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/diagrams: 8/9] functional-tests: Show output of `tracker daemon status` on timeout
- Date: Wed, 24 Dec 2014 01:28:18 +0000 (UTC)
commit e8afc204f3489481e9dbbe486de035e7ef60cfc4
Author: Sam Thursfield <sam afuera me uk>
Date: Tue Dec 23 17:06:18 2014 +0000
functional-tests: Show output of `tracker daemon status` on timeout
This gives an immediate clue of whether Tracker was still processing
stuff when the timeout fired.
tests/functional-tests/common/utils/helpers.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/functional-tests/common/utils/helpers.py b/tests/functional-tests/common/utils/helpers.py
index 5ad4a4f..8fcf254 100644
--- a/tests/functional-tests/common/utils/helpers.py
+++ b/tests/functional-tests/common/utils/helpers.py
@@ -275,6 +275,8 @@ class StoreHelper (Helper):
def _graph_updated_timeout_cb (self):
# Don't fail here, exceptions don't get propagated correctly
# from the GMainLoop
+ status = subprocess.check_output(['tracker', 'daemon', 'status'])
+ log('Timeout waiting for resource. Current status of daemons:\n%s' % status)
self.graph_updated_timed_out = True
self.loop.quit ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]