qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gmur...@apache.org
Subject qpid-dispatch git commit: NO-JIRA - Fixed python-checker error - /foo/qpid-dispatch/tests/system_tests_core_client.py:244:5: E129 visually indented line with same indent as next logical line: and e[2] == 'client test request done error=Timed out'):
Date Tue, 11 Dec 2018 15:56:44 GMT
Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 2bc6dfd41 -> ec1391975


NO-JIRA - Fixed python-checker error - /foo/qpid-dispatch/tests/system_tests_core_client.py:244:5:
E129 visually indented line with same indent as next logical line:   and e[2] == 'client test
request done error=Timed out'):


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/ec139197
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/ec139197
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/ec139197

Branch: refs/heads/master
Commit: ec13919751adb7226c26079045ed2bce666b9300
Parents: 2bc6dfd
Author: Ganesh Murthy <gmurthy@redhat.com>
Authored: Tue Dec 11 10:56:26 2018 -0500
Committer: Ganesh Murthy <gmurthy@redhat.com>
Committed: Tue Dec 11 10:56:26 2018 -0500

----------------------------------------------------------------------
 tests/system_tests_core_client.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/ec139197/tests/system_tests_core_client.py
----------------------------------------------------------------------
diff --git a/tests/system_tests_core_client.py b/tests/system_tests_core_client.py
index 1c0d0c9..83c3338 100644
--- a/tests/system_tests_core_client.py
+++ b/tests/system_tests_core_client.py
@@ -238,10 +238,10 @@ class TestCallTimeout(TestService):
         def on_timer_task(self, event):
             log = self.service.qm.get_log()
             for e in log:
-                if (e[0] == 'ROUTER_CORE'
-                    and e[1] == 'error'
+                if (e[0] == 'ROUTER_CORE'and e[1] == 'error'
+                        and e[2] == 'client test request done '
+                                    'error=Timed out'):
                     # yes this is the line you're looking for:
-                    and e[2] == 'client test request done error=Timed out'):
                     self.service.error = "TIMED OUT!"
                     if self.service._conn:
                         self.service._conn.close()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message