-
Notifications
You must be signed in to change notification settings - Fork 4
Remove performance tests iterations logic as it is now handled natively in k6 #384
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
Conversation
|
This might be just from me running locally but I did hit some memory exhaustion errors, did you see this at all? |
|
Hi @zhongruige! I ran the tests on my local environment and they finished properly. It might be related to the memory allocated in your local env 🤔 |
zhongruige
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall tested great for me, thanks @alopezari! I did notice a weird issue when trying to switch back using the binary I have in my path:
qit switch production
[ERROR] Invalid environment type.
If I use the one built on the PR it works fine, do you see the same when toggling between them?
|
@zhongruige hmm I can't reproduce the issue you mentioned when switching environments using the manager from the branch Did you perform any specific steps to reproduce this issue? |
|
Weird! I may have messed something up by accident, possibly when doing the utility package testing without realizing it. I'll get things set up again, but thanks for confirming this is working for you! |
zhongruige
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to add my approval, nice work here!

This PR aims to remove the logic around performance tests iterations on QIT in favor of this other PR, which leveraged running multiple iterations to k6.
This drastically reduces performance tests duration from 1h with 7 iterations (baseline and SUT each) to 15m with 10 iterations.
Testing instructions
php src/qit-cli.php package:publish ../compatibility-dashboard/ci/tests/performance/test-package/ latest.php src/qit-cli.php run:performance automatewoo -vvv --test_packages=latest --local.php src/qit-cli.php run:performance automatewoo -vvv --test_packages=latest.