Skip to content

Commit

Permalink
NO-JIRA - Increase the timeout to 10 seconds on the waypoint tests to…
Browse files Browse the repository at this point in the history
… give it some extra time to complete
  • Loading branch information
ganeshmurthy committed Jan 16, 2017
1 parent 89895c5 commit 5e6b2e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/system_tests_multi_tenancy.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ def send(self):
while self.sender.credit > 0 and self.n_sent < self.count:
self.n_sent += 1
m = Message(body="Message %d of %d" % (self.n_sent, self.count))

if self.anonymous:
m.address = self.sender_address
self.sender.send(m)
Expand Down Expand Up @@ -699,7 +700,7 @@ def send_waypoint(self):
self.waypoint_sender.send(m)

def on_start(self, event):
self.timer = event.reactor.schedule(5, Timeout(self))
self.timer = event.reactor.schedule(10, Timeout(self))
self.first_conn = event.container.connect(self.first_host)
self.second_conn = event.container.connect(self.second_host)

Expand Down

0 comments on commit 5e6b2e6

Please sign in to comment.