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

[Test] Add argument that allows to use downloaded devworkspace file load-tests script #22890

Merged
merged 5 commits into from
Mar 25, 2024

Conversation

SkorikSergey
Copy link
Contributor

@SkorikSergey SkorikSergey commented Mar 22, 2024

What does this PR do?

Add argument that allows to specify devworkspace file that will be used for the load tests instead of default. It use -l option with devworkspace link after it. Also script check downloaded yaml file correctness by kubectl -f apply file --dry-run=server command.

What issues does this PR fix or reference?

https://issues.redhat.com/browse/CRW-5633

How to test this PR?

  1. Log in to Openshift cluster with DevSpaces deployed from terminal
  2. Start load-test.sh script from test/e2e/performance/load-tests. Set number of started workspaces by -c parameter(like./load-test.sh -c 5)
  3. To use devworkspace yaml file from lint use -l option(like./load-test.sh -l https://gist.githubusercontent.com/SkorikSergey/2eb152db36ed27a0736e0b367ee7f435/raw/dffdb84aaa8336977d9a1f25afe7749bb5c06e9a/simple-devworskpace.yaml)
  4. As results there are average time of workspace starting and number of failed workspaces.

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@SkorikSergey SkorikSergey added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/task Internal things, technical debt, and to-do tasks to be performed. area/qe labels Mar 22, 2024
@SkorikSergey SkorikSergey self-assigned this Mar 22, 2024
@SkorikSergey SkorikSergey changed the title [Test] Add argument that allows to specify devworkspace file that will be used for the load tests instead of default [Test] Add argument that allows to specify devworkspace file that will be used for the load tests instead of default in load-tests script Mar 22, 2024
@SkorikSergey SkorikSergey changed the title [Test] Add argument that allows to specify devworkspace file that will be used for the load tests instead of default in load-tests script [Test] Add argument that allows to use downloaded devworkspace file load-tests script Mar 25, 2024
@SkorikSergey SkorikSergey merged commit 799565a into main Mar 25, 2024
4 checks passed
@SkorikSergey SkorikSergey deleted the load-tests branch March 25, 2024 11:27
@SkorikSergey SkorikSergey removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/qe kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants