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

[CLI-996] remove update check during tests #905

Merged
merged 2 commits into from
Jun 30, 2021

Conversation

mtodzo
Copy link
Contributor

@mtodzo mtodzo commented Jun 28, 2021

Checklist

  1. [CRUCIAL] Is the change for CP or CCloud functionalities that are already live in prod?

    • n/a
  2. Did you add/update any commands that accept secrets as args/flags?

    • no: ok

What

remove update check during tests. Prior to this each integration test was making a request to s3 to check if for new CLI versions (sending this many requests may have even gotten rate-limited). Not making these requests during tests gives integration tests a big speedup -- cutting make test time at least in half (maybe a little more) from 50m to 20m on windows, and just under 40m on mac and linux to under 20m.

References

Test&Review

@mtodzo mtodzo requested a review from a team as a code owner June 28, 2021 22:25
Copy link
Member

@brianstrauch brianstrauch left a comment

Choose a reason for hiding this comment

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

15/40/23 definitely looks like an improvement! Let's merge this?

@mtodzo mtodzo changed the title [test] remove update check during tests remove update check during tests Jun 30, 2021
@mtodzo mtodzo changed the title remove update check during tests [CLI-996] remove update check during tests Jun 30, 2021
@mtodzo mtodzo merged commit 2987cd0 into master Jun 30, 2021
@mtodzo mtodzo deleted the no-update-checks-during-test branch June 30, 2021 20:39
brianstrauch pushed a commit that referenced this pull request Jun 30, 2021
* remove update check during tests

* Trigger Build
brianstrauch pushed a commit that referenced this pull request Jul 1, 2021
* remove update check during tests

* Trigger Build
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