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] Use local devfile.yaml for workspace creation in load-test script #22855

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

SkorikSergey
Copy link
Contributor

@SkorikSergey SkorikSergey commented Feb 28, 2024

What does this PR do?

Use local devfile.yaml for workspace creation in load-test script. Start workspaces in parallel.

Logs

Clean up the environment
rm: cannot remove 'dw*': No such file or directory
devworkspace.workspace.devfile.io/dw1 created
devworkspace.workspace.devfile.io/dw1 condition met
Wait for all workspaces are started and calculate average workspaces starting time
Devworkspace dw1 starting time: 36 seconds
==================== Test results ====================
Average workspace starting time for 1 workspaces from 1 started: 36 seconds
0 workspaces failed. See failed workspace pod logs in the current folder for details.
Clean up the environment

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. 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 Feb 28, 2024
@SkorikSergey SkorikSergey self-assigned this Feb 28, 2024
@SkorikSergey SkorikSergey merged commit 301503f into main Feb 28, 2024
4 checks passed
@SkorikSergey SkorikSergey deleted the load-tests branch February 28, 2024 10:16
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. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants