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 3d510e4  DISPATCH-1408 - Added a flush to flush out the print 
statements
3d510e4 is described below

commit 3d510e4bc2f8fee73b9cef206f3b90ffd9d45c7f
Author: Ganesh Murthy <[email protected]>
AuthorDate: Mon Oct 21 14:36:08 2019 -0400

    DISPATCH-1408 - Added a flush to flush out the print statements
---
 tests/system_tests_distribution.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/system_tests_distribution.py 
b/tests/system_tests_distribution.py
index 1ee9b98..1841e20 100644
--- a/tests/system_tests_distribution.py
+++ b/tests/system_tests_distribution.py
@@ -22,6 +22,7 @@ from __future__ import division
 from __future__ import absolute_import
 from __future__ import print_function
 
+import sys
 from proton          import Message, Timeout
 from system_test     import TestCase, Qdrouterd, main_module, TIMEOUT, 
SkipIfNeeded
 from system_test     import unittest
@@ -2289,6 +2290,7 @@ class ClosestTest ( MessagingHandler ):
         self.print_debug = print_debug
 
     def timeout ( self ):
+        sys.stdout.flush()
         self.bail ( "Timeout Expired " )
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to