-
Notifications
You must be signed in to change notification settings - Fork 81
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
Speed-up execution of keyword "Is RHODS Self-Managed" in local #1366
Merged
jgarciao
merged 3 commits into
red-hat-data-services:master
from
jgarciao:speed-up-skip-if-rhods-is-self-managed
Apr 9, 2024
Merged
Speed-up execution of keyword "Is RHODS Self-Managed" in local #1366
jgarciao
merged 3 commits into
red-hat-data-services:master
from
jgarciao:speed-up-skip-if-rhods-is-self-managed
Apr 9, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RHOSi Setup is calling the keyword "Is RHODS Self-Managed", which is currently using the Robot Framework OpenShiftLibrary. The problem is that this library takes more than 10s to load, slowing down development in local. This PR modifies the keyword not to use that library in this particular keyword Signed-off-by: Jorge Garcia Oncins <[email protected]>
Robot Results
|
Signed-off-by: Jorge Garcia Oncins <[email protected]>
jiridanek
previously approved these changes
Apr 9, 2024
FedeAlonso
previously approved these changes
Apr 9, 2024
jstourac
reviewed
Apr 9, 2024
Signed-off-by: Jorge Garcia Oncins <[email protected]>
|
FedeAlonso
approved these changes
Apr 9, 2024
jiridanek
approved these changes
Apr 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancements
Bugfixes, enhancements, refactoring, ... in tests or libraries (PR will be listed in release-notes)
verified
This PR has been tested with Jenkins
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The keyword
RHOSi Setup
calls keywordIs RHODS Self-Managed
, which is using the Robot Framework OpenShiftLibrary to performOc Get ...
The problem is that the OpenShiftLibrary library takes more than 10s to load for the first time, slowing down development in local.
This PR modifies the
Is RHODS Self-Managed
keyword not to use the OpenShift Library in order to speed up execution.Tested successfully in local and rhods-ci-pr-test/2683
Original:
![speed-if-rhods-is-self-managed-original-managed](https://private-user-images.githubusercontent.com/66894/320914160-149c993d-580b-4ec0-b448-1c7877adb748.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzA1NzksIm5iZiI6MTczOTI3MDI3OSwicGF0aCI6Ii82Njg5NC8zMjA5MTQxNjAtMTQ5Yzk5M2QtNTgwYi00ZWMwLWI0NDgtMWM3ODc3YWRiNzQ4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDEwMzc1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE2M2Y1MzA4MDc3ZTUxMGU3MTU2ODdiOTlhY2IxNDE4YzFjYjA1M2I5NTNhNTNlOTAyZTY5OTk0ZmNjMzdmMWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.TSIvlA5Qyp476YDYQhDrZ87Sq-T1eR8KHOEehfgBAJs)
With this PR:
![speed-if-rhods-is-self-managed-updated-managed](https://private-user-images.githubusercontent.com/66894/320914182-a8456433-2b41-4c6a-baa5-31bce912cc6e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzA1NzksIm5iZiI6MTczOTI3MDI3OSwicGF0aCI6Ii82Njg5NC8zMjA5MTQxODItYTg0NTY0MzMtMmI0MS00YzZhLWJhYTUtMzFiY2U5MTJjYzZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDEwMzc1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMyZDE4Y2Q2M2JkNjBmMWZhZDU4Y2NjZjRiMmEwOTVlOTJhZDBiMDhjZjAwNzBlOWM3MmViYzIyNWE5YWNhYmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.IHB5N6iTUGiPdYHIk15DtGkWZJofl2uqD9sFTc-RIuw)