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 AwesomeSpawn spec failures #238

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Feb 8, 2024

AwesomeSpawn::CommandResult used to take 4 parameters but now takes 5
This was a change in the internal api for awesomespawn

In the future, we may want to converting over to using "awesome_spawn/spec_helper" and the stub_good_run stuff

CommandResult used to take 4 parameters but now takes 5
In the future, we may want to converting over to using "awesome_spawn/spec_helper"
and the stub_good_run stuff
@miq-bot
Copy link
Member

miq-bot commented Feb 8, 2024

Checked commit kbrock@2b9d29f with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
8 files checked, 2 offenses detected

spec/yum_spec.rb

@Fryguy
Copy link
Member

Fryguy commented Feb 8, 2024

Please also set the minimum version of awesome_spawn to 1.6, since that is the version that introduced this change. That is, if someone has 1.5 and runs these specs, then it will fail in the opposite way.

Copy link
Member

@agrare agrare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@agrare agrare merged commit ddba403 into ManageIQ:master Feb 8, 2024
5 checks passed
@agrare agrare assigned agrare and unassigned Fryguy Feb 8, 2024
@agrare agrare added the bug label Feb 8, 2024
Fryguy added a commit to Fryguy/linux_admin that referenced this pull request Feb 8, 2024
The change in ManageIQ#238 uses the interface from 1.6, so we need to enforce
that as the minimum.
@kbrock kbrock deleted the fix_awesomespawn_specs branch February 9, 2024 23:26
@kbrock
Copy link
Member Author

kbrock commented Feb 9, 2024

I realize I was responsible for the change in the CommandResult parameters. (we should have added it to the end). Sorry

bdunne added a commit that referenced this pull request Apr 30, 2024
Breaking Changes:
- Bump required_ruby_version to 2.6 & Bump net-ssh for OpenSSL 3.0 support #244

Changed:
- Bump ed25519 upper version limit to 2.0 #246
- Bump awesome_spawn minimum to 1.6 #240
- Change redirects to be portable #235
- use PATH to find executable commands #233

Test:
- Fix local spec failures on ruby 3.1 #247
- Update paambaati/codeclimate-action action to v6 #245
- Add renovate.json #234
- Update codeclimate channel to the latest in manageiq-style #242
- Test with ruby 3.1 and 3.0 #241
- Fix AwesomeSpawn spec failures #238
- Update actions/checkout version to v4 #237
- Update GitHub Actions versions #236
- update specs to work with recent rspec versions #232
- Add timeout-minutes to setup-ruby job #231
- Switch to GitHub Actions #230
- Remove Hakiri #229
- Fix whitesource config files #228
- Add .whitesource configuration file #227
- Update manageiq-style #226
- drop sudo:false #222
- Switch to manageiq-style #219
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants