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

Tests: mock trigger build to speed up tests #7661

Merged
merged 1 commit into from
Nov 17, 2020
Merged

Tests: mock trigger build to speed up tests #7661

merged 1 commit into from
Nov 17, 2020

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Nov 11, 2020

Otherwise trigger_build would try to call the API,
and then keep trying till it times out.

In these tests we don't need to run trigger_build. This was more noticeable in the automation rules tests, bc they are a lot and almost each tests call to trigger build :D. Probably there are other tests that are hitting this code, but those were the ones I found so far

Otherwise trigger_build would try to call the API,
and then keep trying till it times out.

In these tests we don't need to run trigger_build.
@stsewd stsewd requested review from a team and humitos November 11, 2020 18:39
@stsewd stsewd merged commit b274de7 into master Nov 17, 2020
@stsewd stsewd deleted the speeduptests branch November 17, 2020 14:57
stsewd added a commit that referenced this pull request Nov 18, 2020
Noticed these slow tests today.
Otherwise it will keep retrying till it times out.
Similar to #7661
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.

2 participants