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

Actually run acceptance tests #92

Merged
merged 12 commits into from
Jun 10, 2022
Merged

Actually run acceptance tests #92

merged 12 commits into from
Jun 10, 2022

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Jun 9, 2022

For some reason the filtering prevented from any cucumber tests from running. This meant the whole acceptance test suite wasn't running. This adds a bunch of commits to get them to work again. It also takes the chance to update the code to a more modern standard (5710fd0) which helps debugging when things fail.

ekohl added 8 commits June 9, 2022 23:29
This wasn't testing anything
This is the same, but shorter. In modern aruba it will also start to
show command output which makes debugging a lot easier.
The master branch (default from librarian) was removed so cloning
failed.
It times out, probably due to a lot of backtracking of forge install due
to older versions.
This test times out, but it's unclear to me what it should verify. It
should have a mismatch, but it doesn't have a clear one.
The old versions caused it to time out. This updates it to recent
versions and also asserts the apt module is properly pinned to an older
version.
This relies on the 3.2.x branch in puppetlabs-stdlib but that was
removed. This now uses theforeman-dns which has a stable branch and
relatively few dependencies.
@ekohl ekohl force-pushed the fix-tests branch 2 times, most recently from 9528227 to add5567 Compare June 9, 2022 22:48
ekohl added 4 commits June 10, 2022 01:14
This tests the same but with newer versions, which speeds up the test.
Regardless, the timeout is still increased. The correct stdlib version
is now explicitly verified.
run_simple was deprecated in aruba 0.14.8 and renamed to
run_command_and_stop in 1.0.0.
In 8d48431 a selection mechanism was
added and in c9fec19 the syntax was
changed. However, it doesn't appear to work anymore and now no tests are
executed. This statically skips the only test that can't be executed on
Puppet < 4. We don't test that anyway so nothing is lost.
@@ -1,7 +1,5 @@
# Librarian-puppet

[![Build Status](https://travis-ci.org/voxpupuli/librarian-puppet.png?branch=master)](https://travis-ci.org/voxpupuli/librarian-puppet)
Copy link
Member

Choose a reason for hiding this comment

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

do you want to add links for the new github action status?

Copy link
Member Author

Choose a reason for hiding this comment

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

Personally I'd rather not.

@ekohl
Copy link
Member Author

ekohl commented Jun 10, 2022

Looks like cc70745 broke Ruby 2.4 support because acceptance tests didn't ran.

@bastelfreak
Copy link
Member

should we officially drop Ruby 2.4 (and maybe 2.5) since both are EoL?

@ekohl
Copy link
Member Author

ekohl commented Jun 10, 2022

It was first released in 3.0.1, which was tagged over a year ago and I haven't seen complaints. I'm leaning to dropping 2.4, but not 2.5. 2.5 still works and is included in Puppet 6.

That said, I do have more breaking changes lined up (this was just a preparation PR) so dropping it later sounds like a good idea. So I'm merging this now.

@ekohl ekohl merged commit 75af499 into voxpupuli:master Jun 10, 2022
@ekohl ekohl deleted the fix-tests branch June 10, 2022 07:39
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