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 tests after Beaker::Platform refactoring #146

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Sep 20, 2024

No description provided.

@bastelfreak
Copy link
Member

Since this is a fix for voxpupuli/beaker@9d85e89, which was first released in 6.4.0, should we bump the minimal version in the gemspec to 6.4.0?

@evgeni
Copy link
Member Author

evgeni commented Sep 20, 2024

Since this is a fix for voxpupuli/beaker@9d85e89, which was first released in 6.4.0, should we bump the minimal version in the gemspec to 6.4.0?

No.

  1. this is a test-setup only change, the code is still compatible with older beaker
  2. the tests actually pass on 6.3.0 (I tested! one test fails: "Beaker::Docker with a working connection #dockerfile_for uses pacman on archlinux" and that's because of voxpupuli/beaker@18e6e22)

@evgeni
Copy link
Member Author

evgeni commented Sep 20, 2024

I also don't think this should be labeled bug -- it's not a bug in the code.


expect(dockerfile).to match(/pacman --sync --refresh --noconfirm archlinux-keyring/)
expect(dockerfile).to match(/pacman --sync --refresh --noconfirm --sysupgrade/)
expect(dockerfile).to match(/pacman --sync --noconfirm curl ntp net-tools openssh/)
expect(dockerfile).to match(/pacman --sync --noconfirm curl net-tools openssh/)
Copy link
Member Author

Choose a reason for hiding this comment

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

we could make this

Suggested change
expect(dockerfile).to match(/pacman --sync --noconfirm curl net-tools openssh/)
expect(dockerfile).to match(/pacman --sync --noconfirm curl/)

and then it'd pass on 6.3 AND 6.4

@bastelfreak bastelfreak removed the bug label Sep 20, 2024
@evgeni evgeni merged commit e67cf9b into master Sep 20, 2024
10 checks passed
@evgeni evgeni deleted the test-platform branch September 20, 2024 08:18
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.

3 participants