Skip to content

Allow wider range of file system times#910

Merged
MarkEWaite merged 2 commits intojenkinsci:masterfrom
MarkEWaite:increase-file-system-noise-ranges
Jun 19, 2020
Merged

Allow wider range of file system times#910
MarkEWaite merged 2 commits intojenkinsci:masterfrom
MarkEWaite:increase-file-system-noise-ranges

Conversation

@MarkEWaite
Copy link
Contributor

Allow wider range of file system times in tests

File system times need a wider range of allowed values on two tests. One of the tests fails consistently on OpenBSD, likely due to the precise one second data reporting of OpenBSD file system times and the slow hardware where I'm running it. One of the tests fails less frequently with a small range error. The second test now allows an additional 20% on its range for slow file systems.

Checklist

  • I have read the CONTRIBUTING doc
  • I have added tests that verify my changes
  • Unit tests pass locally with my changes
  • I have added documentation as necessary
  • No Javadoc warnings were introduced with my changes
  • No spotbugs warnings were introduced with my changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Tests consistently fail with the 1500 ms range and consistently
succeed with the 3000 ms range.  OpenBSD file system appears to
report times on second boundaries, with only zeroes in millisecond
values.
Sometimes seeing failures reported for small offsets beyond the
tested bounds.  Allow some file system imprecision, especially on
the wide range of hardware and loads where tests are running.
@MarkEWaite MarkEWaite merged commit d0eefd8 into jenkinsci:master Jun 19, 2020
@MarkEWaite MarkEWaite deleted the increase-file-system-noise-ranges branch June 19, 2020 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant