Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some additional tests #327

Closed
wants to merge 3 commits into from
Closed

Conversation

auerswal
Copy link
Collaborator

These new tests check more aspects of fping behavior and make two existing tests a little bit more reliable, but they are not intended to increase code coverage.

Giving an empty string instead of a number as option argument
was not reliably caught, see GH issue schweikert#324 and GH PR schweikert#323.
Sometimes, the macOS CI runner fails one of the loop tests.
It seems as if the process is killed before it could finish
the output required for the test to pass.  So give the test
a bit more time between producing output and killing fping.
Some changes of fping resulted in some systems reporting
implausible timestamps, see, e.g., GH issue schweikert#203.  This
commit adds a simplistic plausability check for timestamps
in Unix time format: they need to be greater or equal to
1000000000 (2001-09-09 03:46:40+02:00).
@auerswal
Copy link
Collaborator Author

Hm, the test failing now is one of the tests I tried to make more reliable. Perhaps Those tests should just be skipped on macOS.

@auerswal auerswal closed this Jun 23, 2024
@auerswal auerswal deleted the more_tests_05 branch June 23, 2024 15:51
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