haltest: change ClientVblankWaitSetFps test error condition 06/189106/1
authorJunkyeong Kim <jk0430.kim@samsung.com>
Thu, 13 Sep 2018 10:22:44 +0000 (19:22 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Thu, 13 Sep 2018 10:22:48 +0000 (19:22 +0900)
tw2 cannot success before condition. reduce error checking condition.

Change-Id: I291207363b42ea0dc2e51fca60c4dae4b609a63e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
haltests/src/tc_tdm_client.cpp

index 10e122d..eb537ca 100644 (file)
@@ -1150,7 +1150,7 @@ TEST_P(TDMClient, ClientVblankWaitSetFps)
        end = tdm_helper_get_time();
 
        /* "+ vrefresh_interval" consider the delay of socket communication between kernel and platform */
-       ASSERT_GT((end - start), (interval - vrefresh_interval));
+       ASSERT_GT((end - start), (interval - vrefresh_interval * 2));
        ASSERT_LT((end - start), (interval + vrefresh_interval));
 }
 
@@ -1368,4 +1368,4 @@ INSTANTIATE_TEST_CASE_P(TDMClientParams,
                                                Values(TDM_DEFAULT_MODULE));
 #endif
 
-/* LCOV_EXCL_END */
\ No newline at end of file
+/* LCOV_EXCL_END */