Fix address clashes in tests

This commit is contained in:
Alexey Rybalchenko
2023-10-24 11:54:35 +02:00
committed by Dennis Klein
parent b40db42196
commit 6122010694
2 changed files with 10 additions and 5 deletions

View File

@@ -35,6 +35,9 @@ auto RunSingleThreadedMultipart(string transport, string address1, string addres
config.SetProperty<size_t>("shm-metadata-msg-size", 2048);
}
address1 += "_" + config.GetProperty<string>("session");
address2 += "_" + config.GetProperty<string>("session");
auto factory = TransportFactory::CreateTransportFactory(transport, tools::Uuid(), &config);
Channel push1("Push1", "push", factory);
@@ -118,6 +121,8 @@ auto RunMultiThreadedMultipart(string transport, string address1, bool expandedS
config.SetProperty<size_t>("shm-metadata-msg-size", 2048);
}
address1 += "_" + config.GetProperty<string>("session");
auto factory = TransportFactory::CreateTransportFactory(transport, tools::Uuid(), &config);
Channel push1("Push1", "push", factory);