Fix Tuto3 double delete, cleanup test output, undeclared var in NN socket.

This commit is contained in:
Alexey Rybalchenko
2017-02-23 15:59:28 +01:00
committed by Mohammad Al-Turany
parent b43d4c142d
commit 7c1f7aa3f2
9 changed files with 19 additions and 19 deletions

View File

@@ -17,6 +17,8 @@
int main(int argc, char** argv)
{
reinit_logger(false);
FairMQTestPull testPull;
testPull.CatchSignals();
@@ -38,8 +40,6 @@ int main(int argc, char** argv)
return 1;
}
reinit_logger(false);
testPull.SetProperty(FairMQTestPull::Id, "testPull");
FairMQChannel pullChannel("pull", "connect", "tcp://127.0.0.1:5557");

View File

@@ -17,6 +17,9 @@
int main(int argc, char** argv)
{
reinit_logger(false);
SET_LOG_CONSOLE_LEVEL(WARN);
FairMQTestPush testPush;
testPush.CatchSignals();
@@ -38,9 +41,6 @@ int main(int argc, char** argv)
return 1;
}
reinit_logger(false);
SET_LOG_CONSOLE_LEVEL(NOLOG);
testPush.SetProperty(FairMQTestPush::Id, "testPush");
FairMQChannel pushChannel("push", "bind", "tcp://127.0.0.1:5557");