mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Fix Tuto3 double delete, cleanup test output, undeclared var in NN socket.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
b43d4c142d
commit
7c1f7aa3f2
@@ -17,6 +17,8 @@
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
reinit_logger(false);
|
||||
|
||||
FairMQTestPub testPub;
|
||||
testPub.CatchSignals();
|
||||
|
||||
@@ -38,8 +40,6 @@ int main(int argc, char** argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
reinit_logger(false);
|
||||
|
||||
testPub.SetProperty(FairMQTestPub::Id, "testPub");
|
||||
|
||||
FairMQChannel controlChannel("pull", "bind", "tcp://127.0.0.1:5555");
|
||||
|
@@ -19,6 +19,9 @@
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
reinit_logger(false);
|
||||
SET_LOG_CONSOLE_LEVEL(WARN);
|
||||
|
||||
FairMQTestSub testSub;
|
||||
testSub.CatchSignals();
|
||||
|
||||
@@ -40,9 +43,6 @@ int main(int argc, char** argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
reinit_logger(false);
|
||||
SET_LOG_CONSOLE_LEVEL(NOLOG);
|
||||
|
||||
testSub.SetProperty(FairMQTestSub::Id, "testSub_" + std::to_string(getpid()));
|
||||
|
||||
FairMQChannel controlChannel("push", "connect", "tcp://127.0.0.1:5555");
|
||||
|
Reference in New Issue
Block a user