You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2012/05/17 20:05:51 UTC

svn commit: r1339757 - /qpid/trunk/qpid/cpp/src/tests/ha_tests.py

Author: aconway
Date: Thu May 17 18:05:51 2012
New Revision: 1339757

URL: http://svn.apache.org/viewvc?rev=1339757&view=rev
Log:
QPID-3603: HA failover test, increase timeout to avoid false failures.

Modified:
    qpid/trunk/qpid/cpp/src/tests/ha_tests.py

Modified: qpid/trunk/qpid/cpp/src/tests/ha_tests.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/ha_tests.py?rev=1339757&r1=1339756&r2=1339757&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/ha_tests.py (original)
+++ qpid/trunk/qpid/cpp/src/tests/ha_tests.py Thu May 17 18:05:51 2012
@@ -683,9 +683,7 @@ class LongTests(BrokerTest):
         if d: return float(d)*60
         else: return 3                  # Default is to be quick
 
-
-    # FIXME aconway 2012-05-15: disabled till functionality fixed.
-    def disable_test_failover_send_receive(self):
+    def test_failover_send_receive(self):
         """Test failover with continuous send-receive"""
         # Start a cluster, all members will be killed during the test.
         # FIXME aconway 2012-05-01: try expected-backups=1, requires catchup-ready fixed.
@@ -717,7 +715,8 @@ class LongTests(BrokerTest):
                 def enough():        # Verify we're still running
                     receiver.check() # Verify no exceptions
                     return receiver.received > n + 100
-                assert retry(enough, 1)
+                # FIXME aconway 2012-05-17: client reconnect sometimes takes > 1 sec.
+                assert retry(enough, 10)
         except:
             traceback.print_exc()
             raise



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