This is an automated email from the ASF dual-hosted git repository.
gmurthy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/master by this push:
new 5739f1a DISPATCH-1439 - Additional fix to long running qdstat test.
Check the minute value if the second value is zero and pass the test
5739f1a is described below
commit 5739f1a819f5f696e29f52f20d71ab1b9eb55fc5
Author: Ganesh Murthy <[email protected]>
AuthorDate: Fri Dec 6 10:52:20 2019 -0500
DISPATCH-1439 - Additional fix to long running qdstat test. Check the
minute value if the second value is zero and pass the test
---
tests/system_tests_qdstat.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/system_tests_qdstat.py b/tests/system_tests_qdstat.py
index 7ebe2c9..cc37ce8 100644
--- a/tests/system_tests_qdstat.py
+++ b/tests/system_tests_qdstat.py
@@ -427,6 +427,9 @@ class QdstatTest(system_test.TestCase):
time_parts = uptime_part.split(":")
if int(time_parts[3]) > 0:
non_zero_seconds = True
+ if not non_zero_seconds:
+ if int(time_parts[2]) > 0:
+ non_zero_seconds = True
self.assertTrue(non_zero_seconds)
c.close()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]