Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
---
tests/check_loop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/check_loop.c b/tests/check_loop.c
index eb79a51..f135cb1 100644
--- a/tests/check_loop.c
+++ b/tests/check_loop.c
@@ -210,7 +210,7 @@ START_TEST(test_job_rate_limit)
* and cause cpu spin. We are going to say that a spin is more than
* one job per 50ms if there is only one job pending in the loop.
*/
- _ck_assert_int(job_1_run_count, <, (RATE_LIMIT_RUNTIME_SEC * (QB_TIME_MS_IN_SEC/50))
+ 1);
+ _ck_assert_int(job_1_run_count, <, (RATE_LIMIT_RUNTIME_SEC * (QB_TIME_MS_IN_SEC/50))
+ 10);
qb_loop_destroy(l);
qb_util_stopwatch_free(rl_sw);
}
--
1.7.7.6
Show replies by date