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(test): Fix flaky queue integration test #3382

Merged
merged 1 commit into from
Jan 21, 2020
Merged

fix(test): Fix flaky queue integration test #3382

merged 1 commit into from
Jan 21, 2020

Conversation

ezimanyi
Copy link
Contributor

@ezimanyi ezimanyi commented Jan 21, 2020

The test are starting to fail quite frequently with an assertion failure "Pipeline did not complete". This is because we assert that an execution has started within 5 seconds of requesting it, which appears to fail frequently when running in constrained CPU environments.

Double the timeout to 10 seconds to alleviate the issue, though a better fix would probably be to avoid having an arbitrary timeout at all. (Perhaps the test function would wait until the queue is quiescent before proceeding?)

The test are starting to fail quite frequently with an assertion
failure "Pipeline did not complete".  This is because we assert
that an execution has started within 5 seconds of requesting it,
which appears to fail frequently when running in constrained CPU
environments.

Double the timeout to 10 seconds to alleviate the issue, though
a better fix would probably be to avoid having an arbitrary timeout
at all.  (Perhaps the test function would wait until the queue
is quiescent before proceeding?)
Copy link
Contributor

@asher asher left a comment

Choose a reason for hiding this comment

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

I like your idea for a better fix, I think @marchello2000 had mentioned a similar idea.

Copy link
Contributor

@maggieneterval maggieneterval left a comment

Choose a reason for hiding this comment

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

👨 ⛏️ 📝 🎉

@ezimanyi ezimanyi added the ready to merge Approved and ready for merge label Jan 21, 2020
@ezimanyi ezimanyi merged commit 697722b into spinnaker:master Jan 21, 2020
@ezimanyi ezimanyi deleted the fix-tests branch January 21, 2020 18:27
@mergify mergify bot added the auto merged Merged automatically by a bot label Jan 21, 2020
KathrynLewis pushed a commit to KathrynLewis/orca that referenced this pull request Jan 31, 2021
The test are starting to fail quite frequently with an assertion
failure "Pipeline did not complete".  This is because we assert
that an execution has started within 5 seconds of requesting it,
which appears to fail frequently when running in constrained CPU
environments.

Double the timeout to 10 seconds to alleviate the issue, though
a better fix would probably be to avoid having an arbitrary timeout
at all.  (Perhaps the test function could wait until the queue
is quiescent before proceeding?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Approved and ready for merge target-release/1.19
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants