summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Linke <christian.linke@bmw.de>2013-07-19 09:12:25 +0200
committerChristian Linke <christian.linke@bmw.de>2013-07-19 09:13:39 +0200
commitc4bbd5a3b5d1d9c857ad2c8ff7b2d8e7be5668fa (patch)
tree3dbbd3bd4a56caccfc24f078897c898f3952cf5f
parent8b484c7e56e489bda8c0d54246c2c500e28e04fd (diff)
downloadaudiomanager-c4bbd5a3b5d1d9c857ad2c8ff7b2d8e7be5668fa.tar.gz
* enhance sleep at beginn of NSM test to be more robust
Signed-off-by: Christian Linke <christian.linke@bmw.de>
-rw-r--r--AudioManagerDaemon/test/AmNodeStateCommunicatorTest/CAmNodeStateCommunicatorTest.cpp3
1 files changed, 2 insertions, 1 deletions
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()