Skip to content

Conversation

JoaoFula
Copy link
Contributor

Description

Type of change

  • Refactor
  • New feature
  • Bug fix
  • CVE fix
  • Optimization
  • Documentation Update
  • Configuration Update
  • Bump-up dependent library
  • Bump-up library or tool used for development (does not change the final image)
  • CI configuration change
  • Konflux configuration change

Related Tickets & Documents

  • Related Issue #
  • Closes #

Checklist before requesting a review

  • I have performed a self-review of my code.
  • PR has passed all pre-merge test jobs.
  • If it is a core feature, I have added thorough tests.

Testing

  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

@openshift-ci openshift-ci bot requested review from tisnik and xrajesh June 18, 2025 13:08
@JoaoFula JoaoFula force-pushed the test-quota-limits branch 2 times, most recently from 323b911 to 4360a61 Compare June 18, 2025 15:03
Copy link
Contributor

@tisnik tisnik left a comment

Choose a reason for hiding this comment

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

seems correct (as smoke tests)! TY

# assert that the available quota is
# less than the initial one hardcoded in the olsconfig
assert (
response.json()["available_quotas"]["UserQuotaLimiter"] < 11111
Copy link
Contributor

Choose a reason for hiding this comment

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

looks ok!

@JoaoFula JoaoFula force-pushed the test-quota-limits branch from 4360a61 to 8209978 Compare June 19, 2025 07:15
@onmete
Copy link
Contributor

onmete commented Jun 19, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 19, 2025
Comment on lines 524 to 581
_, provider = metrics_utils.get_enabled_model_and_provider(pytest.metrics_client)
cluster_utils.run_oc(
[
"apply",
"-f",
f"tests/config/operator_install/olsconfig.crd.{provider}_quota.yaml",
]
)
Copy link
Contributor

Choose a reason for hiding this comment

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

@JoaoFula few questions.

  • So far we have been adding a new test suite to test different config. Why are we not doing here the same ?
  • Quota is not a provider specific feature, do we really need to test for all providers ?
  • Where can I find the log for this test run ? How the artifacts being handled ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@asamal4

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As a matter of coherence, perhaps adding a new test suite + marker will make more sense than the approach I followed here. After shift week, I'll revisit this PR. Thank you!

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jul 1, 2025
@JoaoFula JoaoFula force-pushed the test-quota-limits branch 2 times, most recently from fccee17 to c35042b Compare July 4, 2025 09:14
@JoaoFula JoaoFula force-pushed the test-quota-limits branch from c35042b to 4df940a Compare July 10, 2025 09:43
Adding test for quota limits

Adding test for quota limits

Adding test for quota limits
Changing test according to suggested changes
Removing try except that could obfuscate errors

Adding verification of skipped test to fail run
@JoaoFula JoaoFula force-pushed the test-quota-limits branch 2 times, most recently from 9a8d4d3 to 903496b Compare September 2, 2025 16:45
Fixing test quota limits

Changing url to use lightspeed teams one
@JoaoFula
Copy link
Contributor Author

JoaoFula commented Sep 3, 2025

/retest

Copy link
Contributor

@onmete onmete left a comment

Choose a reason for hiding this comment

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

If we test this just against openai, the configs for other providers can be removed?

@JoaoFula
Copy link
Contributor Author

JoaoFula commented Sep 3, 2025

Yeah, I added them there as a "if we want to cover it for other providers" but, for the time being, this is horizontal to all providers so I don't really care if we test with all or 1 provider. I also don't think it adds too much clutter to need removing but we can if you want.

@onmete
Copy link
Contributor

onmete commented Sep 3, 2025

Let's remove it if it is not used.

@onmete
Copy link
Contributor

onmete commented Sep 3, 2025

/lgtm

@onmete
Copy link
Contributor

onmete commented Sep 3, 2025

/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 3, 2025
Copy link

openshift-ci bot commented Sep 3, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: onmete

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 3, 2025
Copy link

openshift-ci bot commented Sep 3, 2025

@JoaoFula: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit a3b0607 into openshift:main Sep 3, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants