From c4bbd5a3b5d1d9c857ad2c8ff7b2d8e7be5668fa Mon Sep 17 00:00:00 2001 From: Christian Linke Date: Fri, 19 Jul 2013 09:12:25 +0200 Subject: * enhance sleep at beginn of NSM test to be more robust Signed-off-by: Christian Linke --- .../test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp index b846956..11debf9 100644 --- a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp +++ b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp @@ -228,7 +228,8 @@ void CAmEnvironment::SetUp() nsmController.registerControlSender(&pControlSender); //create the mainloop thread pthread_create(&pMainLoopThread, NULL, mainLoop, (void*)&iSocketHandler); - sleep(1); + printf("[----------] Waiting for interface to be ready....\r\n"); + sleep(2); } void CAmEnvironment::TearDown() -- cgit v1.2.1