-
Notifications
You must be signed in to change notification settings - Fork 29
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
Drop unused ports and switch run_init to false #113
Conversation
@kahowell Would you mind verifying my assumptions here are correct? I tested all these changes on Katello nightly and saw no degradation of testing. |
I don't know that I understand these tests well enough to know why this fails to detect 8443 as the available port. |
We're using a testing pattern that's not really the standard puppet way. Since we decided that this isn't for 1.20 I'll revisit this when RC1 is out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my point of view, this PR is 👍
You'll want to rebase on #116. If you could also hide this behind puppet-candlepin/manifests/install.pp Line 7 in 4c9a8ab
|
d40dfa8
to
3dff17d
Compare
Still a bit stuck after rebase on how to get this updated test to pass |
From the logs:
I suspect the issue is that we never set up a keystore with a certificate in our tests so we can't listen on 8443. Previously we listened on 8080 and it was no problem. |
@ehelms I've updated the example to generate a keystore as well |
I've opened #119 to remove the lint check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be good to go when the tests are green.
Thanks for all the help @ekohl ! I am thinking I either hold on merging this until Katello 3.10 is branched, or merge and don't update this module in 3.10 |
I'm fine with holding off on merging. Otherwise 3.10 will be a downgrade compared to nightly and I think that's uglier than the alternatives. |
Before I forget: this will need an installer migration for upgrading users. |
On second thought, it would if it was a top level module but it isn't. |
From my testing and talking to Candlepin team:
This reduces Candlepin setup time, and reduces the number of ports that Candlepin takes up.