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

Resolve wait times issues for tests #1470

Merged
merged 1 commit into from
Feb 17, 2022
Merged

Resolve wait times issues for tests #1470

merged 1 commit into from
Feb 17, 2022

Conversation

rokshana-b
Copy link
Contributor

@rokshana-b rokshana-b commented Feb 17, 2022

What changed?
A couple of the acceptance tests were failing due to short waits. I've increased the wait time to a reasonable amount and removed skip tag from those failing tests.

Why?
GitOps takes around 60s to reconcile — so I've set the wait time to that.

Copy link
Contributor

@dhwthompson dhwthompson left a comment

Choose a reason for hiding this comment

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

So, it looks like this PR does four things:

  1. Raise the timeout for gitAddCommitPush from 10 seconds to 30
  2. Raise the timeout for app deletion to 60 seconds in the cases where it was 30 seconds
  3. Remove the parameter to customize that timeout, as it’s always the same now
  4. Re-enable the disabled tests

Is that right? I’m just trying to make sure I’m following along correctly.

Also, do you have a guess how much difference this will make to how long the acceptance tests take to run? I see they took about 30–35 minutes on this PR, which seems on the upper end of what we were seeing already, but I appreciate that these times aren’t always super consistent.

@rokshana-b
Copy link
Contributor Author

@dhwthompson you are right about the 4 points, that's exactly what I'm doing.

how much difference this will make to how long the acceptance tests take to run? I see they took about 30–35 minutes on this PR

I did see the longer run time but re-enabling the tests means there's 3 more tests running now compared to the last runs. So, I don't think this will make any significant impact overall because the functions are written to quit polling as soon the conditions become true. Therefore, tests will run as per usual time - they'll just stop failing(hopefully) due to quicker timeouts.

Copy link
Contributor

@dhwthompson dhwthompson left a comment

Choose a reason for hiding this comment

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

Cool cool. Thanks for clarifying. 👍

@rokshana-b rokshana-b merged commit 2583b2d into main Feb 17, 2022
@rokshana-b rokshana-b deleted the fix-wait-time-issues branch February 17, 2022 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants