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

Improve repository server controller tests #2271

Merged
merged 3 commits into from
Sep 6, 2023

Conversation

kale-amruta
Copy link
Contributor

Change Overview

Repository Server Controller test are failing intermittently.
Possible reason for intermittent failure could be, default maximum reconcilations that can be run at a time is 1. Hence if there are any failures in setting up the repository server for 1 CR, the controller will keep requeing the requests till the server is ready. This can in turn delay processing of other CRs that that are created.

  • This PR adds concurrent execution of 3 reconcilations at a time.
  • Also the code for deleting the CRs is added to the tests once the test is successful so that controller does not keep processing CRs for the tests which are completed

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Issues

  • fixes #issue-number

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

@github-actions
Copy link
Contributor

Thanks for submitting this pull request 🎉. The team will review it soon and get back to you.

If you haven't already, please take a moment to review our project contributing guideline and Code of Conduct document.

@infraq infraq added this to In Progress in Kanister Aug 17, 2023
@kale-amruta kale-amruta requested review from viveksinghggits and removed request for PrasadG193 August 17, 2023 05:29
Kanister automation moved this from In Progress to Reviewer approved Sep 6, 2023
Signed-off-by: Amruta Kale <amruta.kale@veeam.com>
@mergify mergify bot merged commit 535baf7 into master Sep 6, 2023
15 checks passed
Kanister automation moved this from Reviewer approved to Done Sep 6, 2023
@mergify mergify bot deleted the improveRepositoryServerTests branch September 6, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants