Skip to content

[IAC-1735] Fix test suite #1291

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 2 commits into from
Aug 16, 2021
Merged

[IAC-1735] Fix test suite #1291

merged 2 commits into from
Aug 16, 2021

Conversation

ekohl
Copy link
Collaborator

@ekohl ekohl commented Aug 15, 2021

Continuation of #1289. Individual commits have more details.
Closes: #1289

puppetlabs/puppetlabs-stdlib@77a9c07
changed the default for ensure_packages() in stdlib. This change updates
the tests to match that default change.
@ekohl ekohl requested a review from a team as a code owner August 15, 2021 18:32
@smortex
Copy link
Collaborator

smortex commented Aug 15, 2021

We needs one more let(:postgresql_version) { '9.6' } to replace the condition that trigger the error.

@ekohl
Copy link
Collaborator Author

ekohl commented Aug 15, 2021

I wish PDK actually worked on Ruby 3 so I could run things locally.

In c96b073 the acceptance helper was
included in the unit tests. This should never happen and breaks the
tests. It appears it was included to have a postgresql_version but that
should be defined in let blocks. The acceptance helper only works if
there is an actual target machine.

Fixes: c96b073
@ekohl
Copy link
Collaborator Author

ekohl commented Aug 16, 2021

Looks like CentOS 8 timed out but this doesn't really touch acceptance tests so shall we merge this? I'm hesitant to merge my own PRs.

@bastelfreak bastelfreak merged commit 09b242a into puppetlabs:main Aug 16, 2021
@bastelfreak
Copy link
Collaborator

merging this since it only fixes the CI pipeline and unblocks other PRs.

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.

5 participants