diff --git a/fairmq/test/pub-sub/runTestPub.cxx b/fairmq/test/pub-sub/runTestPub.cxx index 4057a2b6..5c884147 100644 --- a/fairmq/test/pub-sub/runTestPub.cxx +++ b/fairmq/test/pub-sub/runTestPub.cxx @@ -21,6 +21,8 @@ int main(int /*argc*/, char** /*argv*/) testPub.CatchSignals(); testPub.SetTransport("zeromq"); + reinit_logger(false); + testPub.SetProperty(FairMQTestPub::Id, "testPub"); FairMQChannel controlChannel("pull", "bind", "tcp://127.0.0.1:5555"); diff --git a/fairmq/test/pub-sub/runTestSub.cxx b/fairmq/test/pub-sub/runTestSub.cxx index acf622c3..bad5bc07 100644 --- a/fairmq/test/pub-sub/runTestSub.cxx +++ b/fairmq/test/pub-sub/runTestSub.cxx @@ -23,6 +23,8 @@ int main(int /*argc*/, char** /*argv*/) testSub.CatchSignals(); testSub.SetTransport("zeromq"); + reinit_logger(false); + testSub.SetProperty(FairMQTestSub::Id, "testSub_" + std::to_string(getpid())); FairMQChannel controlChannel("push", "connect", "tcp://127.0.0.1:5555"); diff --git a/fairmq/test/push-pull/runTestPull.cxx b/fairmq/test/push-pull/runTestPull.cxx index 0b102569..f0dcbb49 100644 --- a/fairmq/test/push-pull/runTestPull.cxx +++ b/fairmq/test/push-pull/runTestPull.cxx @@ -21,6 +21,8 @@ int main(int /*argc*/, char** /*argv*/) testPull.CatchSignals(); testPull.SetTransport("zeromq"); + reinit_logger(false); + testPull.SetProperty(FairMQTestPull::Id, "testPull"); FairMQChannel pullChannel("pull", "connect", "tcp://127.0.0.1:5557"); diff --git a/fairmq/test/push-pull/runTestPush.cxx b/fairmq/test/push-pull/runTestPush.cxx index 8077f56e..f9f356e7 100644 --- a/fairmq/test/push-pull/runTestPush.cxx +++ b/fairmq/test/push-pull/runTestPush.cxx @@ -21,6 +21,8 @@ int main(int /*argc*/, char** /*argv*/) testPush.CatchSignals(); testPush.SetTransport("zeromq"); + reinit_logger(false); + testPush.SetProperty(FairMQTestPush::Id, "testPush"); FairMQChannel pushChannel("push", "bind", "tcp://127.0.0.1:5557"); diff --git a/fairmq/test/req-rep/runTestRep.cxx b/fairmq/test/req-rep/runTestRep.cxx index 67bba532..0a2a677d 100644 --- a/fairmq/test/req-rep/runTestRep.cxx +++ b/fairmq/test/req-rep/runTestRep.cxx @@ -23,6 +23,8 @@ int main(int /*argc*/, char** /*argv*/) testRep.CatchSignals(); testRep.SetTransport("zeromq"); + reinit_logger(false); + testRep.SetProperty(FairMQTestRep::Id, "testRep"); FairMQChannel repChannel("rep", "bind", "tcp://127.0.0.1:5558"); diff --git a/fairmq/test/req-rep/runTestReq.cxx b/fairmq/test/req-rep/runTestReq.cxx index 6c56346c..fa194447 100644 --- a/fairmq/test/req-rep/runTestReq.cxx +++ b/fairmq/test/req-rep/runTestReq.cxx @@ -23,6 +23,8 @@ int main(int /*argc*/, char** /*argv*/) testReq.CatchSignals(); testReq.SetTransport("zeromq"); + reinit_logger(false); + testReq.SetProperty(FairMQTestReq::Id, "testReq" + std::to_string(getpid())); FairMQChannel reqChannel("req", "connect", "tcp://127.0.0.1:5558"); diff --git a/fairmq/test/runTransferTimeoutTest.cxx b/fairmq/test/runTransferTimeoutTest.cxx index 49862bd8..72dda219 100644 --- a/fairmq/test/runTransferTimeoutTest.cxx +++ b/fairmq/test/runTransferTimeoutTest.cxx @@ -93,6 +93,8 @@ int main(int /*argc*/, char** /*argv*/) timeoutTester.CatchSignals(); timeoutTester.SetTransport("zeromq"); + reinit_logger(false); + timeoutTester.SetProperty(TransferTimeoutTester::Id, "timeoutTester"); FairMQChannel dataOutChannel;