-
Notifications
You must be signed in to change notification settings - Fork 115
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
Conversation
There was a problem hiding this comment.
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),
There was a problem hiding this 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.
It would be beneficial to drop this lower for tests.
00f82e4
to
2174abb
Compare
Thanks for the patch, @JacobCallahan! |
Add a configurable wat period for shared resource It would be beneficial to drop this lower for tests. (cherry picked from commit 1995f76)
Add a configurable wat period for shared resource It would be beneficial to drop this lower for tests. (cherry picked from commit 1995f76)
Add a configurable wat period for shared resource It would be beneficial to drop this lower for tests. (cherry picked from commit 1995f76)
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]>
…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]>
It would be beneficial to drop this lower for tests.