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

Add a configurable wait period for shared resource #17464

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

JacobCallahan
Copy link
Member

It would be beneficial to drop this lower for tests.

@JacobCallahan JacobCallahan added Easy Fix :) Easiest Fix to review and quick merge request. CherryPick PR needs CherryPick to previous branches 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 6.15.z Introduced in or relating directly to Satellite 6.15 6.16.z Introduced in or relating directly to Satellite 6.16 labels Jan 30, 2025
@JacobCallahan JacobCallahan requested a review from a team as a code owner January 30, 2025 05:48

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • conf/robottelo.yaml.template: Language not supported
Comments suppressed due to low confidence (1)

robottelo/config/validators.py:333

  • The pull request title and description contain a typo: 'wat' should be 'wait'.
Validator('robottelo.shared_resource_wait', default=60, is_type_of=int),
@JacobCallahan JacobCallahan changed the title Add a configurable wat period for shared resource Add a configurable wait period for shared resource Jan 30, 2025
Copy link
Member

@ogajduse ogajduse left a comment

Choose a reason for hiding this comment

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

We are now down to 6 seconds of test time if executed as below.

ROBOTTELO_ROBOTTELO__SHARED_RESOURCE_WAIT=2 ROBOTTELO_SERVER__HOSTNAME="" VAULT_SECRET_ID_FOR_DYNACONF=somesecret pytest tests/robottelo/test_shared_resource.py

I left one comment - I would like to enable users to set the wait time to less than 1 second.

robottelo/config/validators.py Outdated Show resolved Hide resolved
It would be beneficial to drop this lower for tests.
@ogajduse
Copy link
Member

Thanks for the patch, @JacobCallahan!

@ogajduse ogajduse merged commit 1995f76 into SatelliteQE:master Feb 13, 2025
9 checks passed
ogajduse pushed a commit to ogajduse/robottelo that referenced this pull request Feb 14, 2025
Add a configurable wat period for shared resource

It would be beneficial to drop this lower for tests.

(cherry picked from commit 1995f76)
ogajduse pushed a commit to ogajduse/robottelo that referenced this pull request Feb 14, 2025
Add a configurable wat period for shared resource

It would be beneficial to drop this lower for tests.

(cherry picked from commit 1995f76)
ogajduse pushed a commit to ogajduse/robottelo that referenced this pull request Feb 14, 2025
Add a configurable wat period for shared resource

It would be beneficial to drop this lower for tests.

(cherry picked from commit 1995f76)
Gauravtalreja1 pushed a commit that referenced this pull request Feb 14, 2025
Add a configurable wait period for shared resource (#17464)

Add a configurable wat period for shared resource

It would be beneficial to drop this lower for tests.

(cherry picked from commit 1995f76)

Co-authored-by: Jake Callahan <[email protected]>
Gauravtalreja1 pushed a commit that referenced this pull request Feb 14, 2025
…17600)

Add a configurable wait period for shared resource (#17464)

Add a configurable wat period for shared resource

It would be beneficial to drop this lower for tests.

(cherry picked from commit 1995f76)

Co-authored-by: Jake Callahan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 6.15.z Introduced in or relating directly to Satellite 6.15 6.16.z Introduced in or relating directly to Satellite 6.16 CherryPick PR needs CherryPick to previous branches Easy Fix :) Easiest Fix to review and quick merge request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants