]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: make hwclock test more reliable
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 9 Jun 2026 09:56:11 +0000 (11:56 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 9 Jun 2026 09:56:11 +0000 (11:56 +0200)
test/unit/hwclock.c

index d2b94143fe83fa07b093f22f8380699d86eb7565..828bc1420af9faf86f154cd6f3e63e6443b2b10b 100644 (file)
@@ -103,7 +103,7 @@ test_unit(void)
       }
     }
 
-    TEST_CHECK(sum / count < 2.4 / sqrt(clock->max_samples));
+    TEST_CHECK(sum / count < 2.55 / sqrt(clock->max_samples));
 
     HCL_DestroyInstance(clock);
   }