DISPATCH-993: Send transmit batches more frequently

Messages are more likely to be released during Link State transitions.
By transmitting messages during the transitions the test gets a
better mix of received and released messages.

A side benefit is that it saves ~40 seconds per test run.


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

Branch: refs/heads/master
Commit: 75d9c17a6600890282645340f1b399a1f0982e6d
Parents: 3d248c1
Author: Chuck Rolke <[email protected]>
Authored: Fri Jul 20 10:24:22 2018 -0400
Committer: Chuck Rolke <[email protected]>
Committed: Fri Jul 20 10:24:22 2018 -0400

----------------------------------------------------------------------
 tests/system_tests_topology_disposition.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/75d9c17a/tests/system_tests_topology_disposition.py
----------------------------------------------------------------------
diff --git a/tests/system_tests_topology_disposition.py 
b/tests/system_tests_topology_disposition.py
index daba701..9aa7276 100644
--- a/tests/system_tests_topology_disposition.py
+++ b/tests/system_tests_topology_disposition.py
@@ -530,7 +530,7 @@ class DeleteSpuriousConnector ( MessagingHandler ):
             Stopwatch ( name = stopwatch_name, \
                         timer = event.reactor.schedule(init_time, 
Timeout(self, stopwatch_name)), \
                         initial_time = init_time, \
-                        repeat_time = 0.5 \
+                        repeat_time = 0.1 \
                       )
 
         self.sender_connection   = event.container.connect ( 
self.client_addrs['A'] )
@@ -748,7 +748,7 @@ class TopologyDisposition ( MessagingHandler ):
         self.client_addrs         = client_addrs
         self.timeout_count        = 0
         self.confirmed_kills      = 0
-        self.send_interval        = 0.5
+        self.send_interval        = 0.1
         self.to_be_sent           = 700
         self.deadline             = 100
         self.message_status       = dict()


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

Reply via email to