-
Notifications
You must be signed in to change notification settings - Fork 4
RTAUTO-53271:Add script to test maintenance mode functionality #184
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
base: develop
Are you sure you want to change the base?
RTAUTO-53271:Add script to test maintenance mode functionality #184
Conversation
This script tests the maintenance mode functionality by setting it to BACKGROUND, verifying the mode, triggering maintenance, and checking the log for entries.
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
This script sets the maintenance mode to BACKGROUND, verifies it, triggers maintenance, and checks the log for entries.
This script sets the maintenance mode to FOREGROUND, verifies it, triggers maintenance, and checks the log for entries.
| "$URL") | ||
|
|
||
| echo "Response: $GET_RESPONSE" | ||
| echo -e "\n" |
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.
Can we assert of the response has the EXPECTED_MODE here too?
|
|
||
| # --------------------------------------------------------- | ||
| # 3. Trigger Maintenance Mode | ||
| # --------------------------------------------------------- |
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.
Please do add a comment that a running Maintenance is not a pre-condition of just add a pre-condition step and call stopMaintenance if needed
|
LGTM |
This script tests the maintenance mode functionality by setting it to BACKGROUND, verifying the mode, triggering maintenance, and checking the log for entries.