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

fix: increase acceptable time deviation for stop tests with -t #81

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

sam-berning
Copy link
Contributor

Issue #, if available:

Description of changes:

Increase acceptable time deviation from 500ms -> 750ms.

This test checks to see that the -t/--time flag waits a certain amount of time (in the test's case, 1s) before sending the stop signal and killing the container. We're currently seeing fairly frequent failures of this test in finch-core, with stop times very slightly outside of the acceptable range:

This exact timing isn't super critical, and these test failures are kind of painful for merging PRs, so increasing the allowable deviation makes sense here.

Testing done:

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Member

@pendo324 pendo324 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work tracking down the root cause of those test failures

@sam-berning sam-berning merged commit c292f6d into runfinch:main Sep 20, 2023
3 checks passed
sam-berning pushed a commit that referenced this pull request Sep 20, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.7.4](v0.7.3...v0.7.4)
(2023-09-20)


### Bug Fixes

* Fix container filepath to make it platform independent
([#80](#80))
([5496e94](5496e94))
* increase acceptable time deviation for stop tests with -t
([#81](#81))
([c292f6d](c292f6d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

3 participants