[UnitTest] Increase unittests' sleep time to 100ms
authorDongju Chae <dongju.chae@samsung.com>
Wed, 12 Aug 2020 06:48:48 +0000 (15:48 +0900)
committer송욱/On-Device Lab(SR)/Staff Engineer/삼성전자 <wook16.song@samsung.com>
Thu, 13 Aug 2020 01:03:38 +0000 (10:03 +0900)
This patch increases unittests' sleep time to 100ms.
In some emulated envionment, the original sleep time is too fast
to check certain negative cases.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
tests/unittests/ne_unittest_utils.h

index e5bd6c6..45a452b 100644 (file)
@@ -18,7 +18,7 @@
 #include <condition_variable>
 #include <mutex>
 
-#define TEST_SLEEP_MS  (5000) /* 5ms is enough */
+#define TEST_SLEEP_MS  (100 * 1000) /* 100ms is enough */
 
 /**
  * @brief start gtest with tricky exception handling (due to svace)