haltest: change ClientVblankWaitSetFps test error condition
[platform/core/uifw/libtdm.git] / 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 */