mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Use different ports in tests to prevent parallel run fail
This commit is contained in:
@@ -36,6 +36,11 @@ int main(int argc, char** argv)
|
||||
testReq.SetProperty(FairMQTestReq::Id, "testReq" + std::to_string(getpid()));
|
||||
|
||||
FairMQChannel reqChannel("req", "connect", "tcp://127.0.0.1:5558");
|
||||
if (argc == 2)
|
||||
{
|
||||
reqChannel.UpdateAddress("tcp://127.0.0.1:5758");
|
||||
}
|
||||
reqChannel.UpdateRateLogging(0);
|
||||
testReq.fChannels["data"].push_back(reqChannel);
|
||||
|
||||
testReq.ChangeState("INIT_DEVICE");
|
||||
|
Reference in New Issue
Block a user