Skip to content

[Backport 7.x] Update deprecated Beaker methods #9247

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

Merged
merged 3 commits into from
Feb 8, 2024
Merged

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Feb 8, 2024

Description

Backport of #9236 to 7.x.

The assert_no_match method in Beaker was long deprecated then eventually
removed altogether in voxpupuli/beaker@6282311

This commit updates all instances of assert_no_match in Puppet's Beaker
tests with refute_match.

(cherry picked from commit 0ceebad)
Previously in Beaker, you could use standalone stdout and stderr methods
to access output from remote machines.

These methods were deprecated in 2013 with voxpupuli/beaker@28b2510 and
dropped entirely in voxpupuli/beaker@73a31c7.

This commit removes these methods from puppet tests in favor of calling
stdout and stderr methods on Result objects.

(cherry picked from commit 9f5f8e5)
This commit removes a conditional dependent on Passenger support, which
was dropped in Puppet 6.

(cherry picked from commit 0037a8d)
@github-actions github-actions bot requested a review from a team as a code owner February 8, 2024 22:33
@puppetlabs-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@mhashizume mhashizume added the maintenance Maintenance chores are excluded from changelogs label Feb 8, 2024
@mhashizume mhashizume closed this Feb 8, 2024
@mhashizume mhashizume reopened this Feb 8, 2024
@mhashizume mhashizume merged commit fb5cc8c into 7.x Feb 8, 2024
@mhashizume mhashizume deleted the backport-9236-to-7.x branch February 8, 2024 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance chores are excluded from changelogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants