Merge "Consider the topic parameter as an array in client-notify"

This commit is contained in:
Zuul 2019-04-29 22:36:42 +00:00 committed by Gerrit Code Review
commit 558fc5f4e8

View File

@ -549,7 +549,7 @@ def spawn_notify_clients(threads, topic, transport, message_count,
wait_after_msg, timeout, duration):
p = eventlet.GreenPool(size=threads)
for i in six.moves.range(threads):
client_builder = functools.partial(NotifyClient, i, transport, topic,
client_builder = functools.partial(NotifyClient, i, transport, [topic],
wait_after_msg)
p.spawn_n(send_messages, i, client_builder, message_count, duration)
p.waitall()