summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefan Held <stefan_held@mentor.com>2015-07-21 16:17:45 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2015-07-30 10:21:57 +0200
commit4092d77b78cd3b1e6805c4c32d9842de83d23e7f (patch)
tree7ca4fc0a3e652109c69ef4b3e504172e986e552b /tests
parent58226d15a596a53195d457f79b4384aa852deb6a (diff)
downloadDLT-daemon-4092d77b78cd3b1e6805c4c32d9842de83d23e7f.tar.gz
workaround for unit test dlt_get_log_state
Signed-off-by: Stefan Held <stefan_held@mentor.com> Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/gtest_dlt_user.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/gtest_dlt_user.cpp b/tests/gtest_dlt_user.cpp
index d55b751..a64541c 100644
--- a/tests/gtest_dlt_user.cpp
+++ b/tests/gtest_dlt_user.cpp
@@ -2932,8 +2932,9 @@ TEST(t_dlt_get_log_state, normal)
{
-
- EXPECT_LE(0,dlt_get_log_state());
+ sleep(1);
+ dlt_init_common();
+ EXPECT_EQ(-1,dlt_get_log_state());
}