]> granicus.if.org Git - check/commitdiff
Reduce Timeout Double Scaling Tests scale to avoid UT failures
authorCrispin Dent-Young <cdentyou@brocade.com>
Thu, 23 Jun 2016 16:04:15 +0000 (17:04 +0100)
committercdentyou <cdentyou@gmail.com>
Sat, 9 Jul 2016 22:28:05 +0000 (23:28 +0100)
The test "test_sleep2_fail" is occasionally passing (failing to fail)
in the jenkins UT - perhaps 1.6 seconds doesn't give enough leeway ?
Making it 1.5 seconds so its in exactly in the middle of sleep1_pass
and sleep2_fail.

tests/check_check_sub.c

index 7d6c7d54a0fa197ecb07ae0b96f5827089ff6d61..3ad40517362cc9955363557295b576a738ae01b3 100644 (file)
@@ -985,7 +985,7 @@ Suite *make_sub_suite(void)
   unsetenv("CK_DEFAULT_TIMEOUT");
   unsetenv("CK_TIMEOUT_MULTIPLIER");
   
-  setenv("CK_TIMEOUT_MULTIPLIER", "0.4", 1);
+  setenv("CK_TIMEOUT_MULTIPLIER", "0.35", 1);
   tc_timeout_scale_double = tcase_create("Timeout Double Scaling Tests");
   tc_timeout_usr_scale_double = tcase_create("User Double Timeout Scaling Tests");
   setenv("CK_DEFAULT_TIMEOUT", "0.9", 1);