Tiny problem with notify-server in simulator
First argument has to be the integer id being passed in from threads_spawner's spawn_n method Change-Id: I32cbc231578c44b91c2218a62bb0e47c085a4397
This commit is contained in:
parent
ec68634d91
commit
3aa565b178
@ -122,7 +122,7 @@ def rpc_call(_id, transport, messages, wait_after_msg, timeout):
|
|||||||
time.sleep(wait_after_msg)
|
time.sleep(wait_after_msg)
|
||||||
|
|
||||||
|
|
||||||
def notifier(transport, _id, messages, wait_after_msg, timeout):
|
def notifier(_id, transport, messages, wait_after_msg, timeout):
|
||||||
n1 = notify.Notifier(transport, topic="n-t1").prepare(
|
n1 = notify.Notifier(transport, topic="n-t1").prepare(
|
||||||
publisher_id='publisher-%d' % _id)
|
publisher_id='publisher-%d' % _id)
|
||||||
msg = 0
|
msg = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user