Merge "Consider the topic parameter as an array in client-notify"
This commit is contained in:
commit
558fc5f4e8
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user