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: Retina e2e scale test #720

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexcastilio
Copy link
Contributor

Description

Create Retina E2E Scale tests using test/e2e framework.

Related Issue

If this pull request is related to any issue, please mention it here. Additionally, make sure that the issue is assigned to you before submitting this pull request.

Checklist

  • I have read the contributing documentation.
  • I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
  • I have correctly attributed the author(s) of the code.
  • I have tested the changes locally.
  • I have followed the project's style guidelines.
  • I have updated the documentation, if necessary.
  • I have added tests, if applicable.

Screenshots (if applicable) or Testing Completed

Please add any relevant screenshots or GIFs to showcase the changes made.

Additional Notes

Add any additional notes or context about the pull request here.


Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.

@alexcastilio alexcastilio added the area/infra Test, Release, or CI Infrastructure label Sep 10, 2024
@alexcastilio alexcastilio self-assigned this Sep 10, 2024
@alexcastilio alexcastilio requested a review from a team as a code owner September 10, 2024 16:09
@alexcastilio alexcastilio marked this pull request as draft September 10, 2024 16:10
Copy link
Member

@timraymond timraymond left a comment

Choose a reason for hiding this comment

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

I realize that this is a draft, and I ordinarily don't review drafts since things are subject to change... but I figured these would be good suggestions early-on if you're planning to write some more here.

test/e2e/framework/types/runner.go Outdated Show resolved Hide resolved
test/e2e/framework/types/runner.go Outdated Show resolved Hide resolved
test/e2e/scale_test.go Outdated Show resolved Hide resolved
test/e2e/scale_test.go Outdated Show resolved Hide resolved
@@ -62,6 +62,20 @@ func DeleteTestInfra(subID, clusterName, location string) *types.Job {
return job
}

func InstallRetina(kubeConfigFilePath, chartPath string) *types.Job {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you need this? Can you refactor InstallAndTestRetinaBasicMetrics.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I preferred not to change InstallAndTestRetinaBasicMetrics since this might be in use by someone else and the scope seems to be different.

The plan for the new pipeline is to Create Infra, Install Retina, Scale Up and Run Tests, so my thinking is to create different jobs for each stage so each job could be reused somewhere else. So in the future instead of using InstallAndTestRetinaBasicMetrics, one could [re-]use InstallRetina, Test Basic Metrics, and perhaps add some other set of tests. Does that make sense?

test/e2e/framework/types/background_test.go Outdated Show resolved Hide resolved
test/e2e/framework/types/runner.go Show resolved Hide resolved
test/e2e/framework/types/scenarios_test.go Outdated Show resolved Hide resolved
@alexcastilio alexcastilio force-pushed the create-scale-test-cluster branch 4 times, most recently from 04458ba to 6662faf Compare September 11, 2024 08:59
Signed-off-by: Alex Castilio dos Santos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/infra Test, Release, or CI Infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants