Skip to content

Commit 925e220

Browse files
authored
ci: change test coverage fudge factor (ietf-tools#6649)
1 parent 569c713 commit 925e220

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/utils/test_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,8 @@ def report_test_result(self, test):
511511
# Assert coverage failure only if we're running the full test suite -- if we're
512512
# only running some tests, then of course the coverage is going to be low.
513513
if self.runner.run_full_test_suite:
514-
# Permit 0.02% variation in results -- otherwise small code changes become a pain
515-
fudge_factor = 0.0002
514+
# Permit a small variation in results -- otherwise small code changes become a pain
515+
fudge_factor = 0.0004
516516
self.assertLessEqual(len(test_missing), len(master_missing),
517517
msg = "New %s without test coverage since %s: %s" % (test, latest_coverage_version, list(set(test_missing) - set(master_missing))))
518518
if not self.runner.ignore_lower_coverage:

0 commit comments

Comments
 (0)