mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Two devices can't share device id
This commit is contained in:
committed by
Mohammad Al-Turany
parent
bf2b208749
commit
d866589be1
@@ -33,7 +33,7 @@ auto RunPubSub(string transport) -> void
|
||||
auto sub1 = execute_result{"", 0};
|
||||
thread sub1_thread([&]() {
|
||||
stringstream cmd;
|
||||
cmd << runTestDevice << " --id sub_" << transport << " --control static --verbosity DEBUG "
|
||||
cmd << runTestDevice << " --id sub_1" << transport << " --control static --verbosity DEBUG "
|
||||
<< "--log-color false --mq-config \"" << mqConfig << "\"";
|
||||
sub1 = execute(cmd.str(), "[SUB1]");
|
||||
});
|
||||
@@ -41,7 +41,7 @@ auto RunPubSub(string transport) -> void
|
||||
auto sub2 = execute_result{"", 0};
|
||||
thread sub2_thread([&]() {
|
||||
stringstream cmd;
|
||||
cmd << runTestDevice << " --id sub_" << transport << " --control static --verbosity DEBUG "
|
||||
cmd << runTestDevice << " --id sub_2" << transport << " --control static --verbosity DEBUG "
|
||||
<< "--log-color false --mq-config \"" << mqConfig << "\"";
|
||||
sub2 = execute(cmd.str(), "[SUB2]");
|
||||
});
|
||||
|
Reference in New Issue
Block a user