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

Do not use the now removed CapacityThresholds in the tests and the utility methods. #379

Conversation

metlos
Copy link
Contributor

@metlos metlos commented Mar 26, 2024

This has been superseded by #389.


This updates the tests to not use the CapacityThresholds in the ToolchainConfig, because those fields are being removed in the associated api PR (codeready-toolchain/api#411).

Additionally, test utility methods for the CapacityThresholds are also removed.

See https://issues.redhat.com/browse/KUBESAW-36.

Associated PRs:
- host-operator: codeready-toolchain/host-operator#1000
- toolchain-e2e: codeready-toolchain/toolchain-e2e#935
- api: codeready-toolchain/api#411

Copy link

codecov bot commented Mar 26, 2024

Codecov Report

Merging #379 (6127a45) into master (e6d41ea) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #379   +/-   ##
=======================================
  Coverage   77.98%   77.98%           
=======================================
  Files          47       47           
  Lines        1958     1958           
=======================================
  Hits         1527     1527           
  Misses        373      373           
  Partials       58       58           

Copy link
Contributor

@MatousJobanek MatousJobanek left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@fbm3307 fbm3307 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
6.7% Duplication on New Code

See analysis details on SonarCloud

@metlos metlos marked this pull request as draft April 24, 2024 16:55
@metlos metlos marked this pull request as ready for review April 24, 2024 16:55
@metlos
Copy link
Contributor Author

metlos commented Apr 24, 2024

Since the CI jobs seem to be stuck (even though the GitHub Actions outage that was going on in the recent hours seems to have been resolved), I will just close this PR and open a new one from the same branch 🤞🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants