From e8d7b6bc5a897a04cfadfc121e1251787632d1f0 Mon Sep 17 00:00:00 2001 From: Junkyeong Kim Date: Thu, 13 Sep 2018 19:22:44 +0900 Subject: [PATCH] haltest: change ClientVblankWaitSetFps test error condition tw2 cannot success before condition. reduce error checking condition. Change-Id: I291207363b42ea0dc2e51fca60c4dae4b609a63e Signed-off-by: Junkyeong Kim --- haltests/src/tc_tdm_client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haltests/src/tc_tdm_client.cpp b/haltests/src/tc_tdm_client.cpp index 10e122d..eb537ca 100644 --- a/haltests/src/tc_tdm_client.cpp +++ b/haltests/src/tc_tdm_client.cpp @@ -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 */ -- 2.7.4