diff options
author | Stefan Held <stefan_held@mentor.com> | 2015-07-21 16:17:45 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2015-07-30 10:21:57 +0200 |
commit | 4092d77b78cd3b1e6805c4c32d9842de83d23e7f (patch) | |
tree | 7ca4fc0a3e652109c69ef4b3e504172e986e552b | |
parent | 58226d15a596a53195d457f79b4384aa852deb6a (diff) | |
download | DLT-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>
-rw-r--r-- | tests/gtest_dlt_user.cpp | 5 |
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()); } |