ganeshmurthy commented on a change in pull request #1441: URL: https://github.com/apache/qpid-dispatch/pull/1441#discussion_r753511228
########## File path: tests/system_tests_distribution.py ########## @@ -3972,19 +3958,25 @@ def on_link_opening(self, event): if self.n_waypoint_receivers < 2 : self.waypoints[self.n_waypoint_receivers]['receiver'] = event.receiver self.n_waypoint_receivers += 1 + # Create the senders after the waypoint receiver links have been opened. + if self.n_waypoint_receivers == 2: + for i in range(len(self.sender_connections)): + cnx = self.sender_connections[i] + sender = self.senders[i] + sender['sender'] = event.container.create_sender(cnx, + self.destination, + name=link_name()) + sender['to_send'] = self.messages_per_sender + sender['n_sent'] = 0 def on_sendable(self, event): - self.debug_print("on_sendable ------------------------------") for index in range(len(self.senders)) : sender = self.senders[index] if event.sender == sender['sender'] : - self.debug_print(" client sender %d" % index) if sender['n_sent'] < sender['to_send'] : self.debug_print(" sending %d" % sender['to_send']) self.send_from_client(sender['sender'], sender['to_send'], index) sender['n_sent'] = sender['to_send'] # n_sent = n_to_send Review comment: If send_from_client() exited because of lack of credit, the debug_print we added will print the n_sent. This additional logging will tell us if the client could not send the desired number of messages due to the lack of credit -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org