mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Use different ports in tests to prevent parallel run fail
This commit is contained in:
@@ -34,6 +34,11 @@ int main(int argc, char** argv)
|
||||
testPush.SetProperty(FairMQTestPush::Id, "testPush");
|
||||
|
||||
FairMQChannel pushChannel("push", "bind", "tcp://127.0.0.1:5557");
|
||||
if (argc == 2)
|
||||
{
|
||||
pushChannel.UpdateAddress("tcp://127.0.0.1:5757");
|
||||
}
|
||||
pushChannel.UpdateRateLogging(0);
|
||||
testPush.fChannels["data"].push_back(pushChannel);
|
||||
|
||||
testPush.ChangeState("INIT_DEVICE");
|
||||
|
Reference in New Issue
Block a user