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

fix(demo_deployer): Updated specific regex in validate_output's param #1135

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

rpaliwal1997
Copy link
Contributor

Issue:- Currently in few of the demo deployer scripts, the validation output strings not correct, tests are showing as passed even though they are failing, due to validation output check string is not correctly entered.
Jira Ticket

Updated the validate_output fields in the deployer scripts to use the correct regular expressions for specific agent installations.
Changes done in the variety of deployer scripts for the different agents, for example in PHP deployer scripts.

PHP Deployer Script:
From: "New Relic installation complete"
To: "PHP Agent\s+(installed)"

Context
The previous validate_output string, "New Relic installation complete", was too generic and indicated success for any installation. This update ensures that the validate_output specifically checks for the PHP agent installation status.

Verification
Verified that the new regular expression correctly identifies the PHP agent installation.

image

@shashank-reddy-nr shashank-reddy-nr self-requested a review November 22, 2024 08:00
@shashank-reddy-nr
Copy link
Contributor

Overall changes looks good to me.

@rpaliwal1997 rpaliwal1997 merged commit ce58007 into main Dec 4, 2024
41 checks passed
@rpaliwal1997 rpaliwal1997 deleted the feature-demo-deployer-script-changes branch December 4, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants