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

Run acceptance tests on Debian 8 #14

Merged
merged 1 commit into from Jun 17, 2019

Conversation

alexjfisher
Copy link
Member

No description provided.

@ekohl
Copy link
Member

ekohl commented Jun 17, 2019

Looks like it fails on the redis service

@alexjfisher
Copy link
Member Author

Looks like it fails on the redis service

Fixed

@bastelfreak bastelfreak merged commit 2f06787 into voxpupuli:master Jun 17, 2019
describe command('sed -i "s/^bind.*/bind 127.0.0.1/g" /etc/redis/redis.conf') do
its(:exit_status) { is_expected.to eq 0 }
end
describe command('systemctl start redis') do
describe command("systemctl start #{redis_service}") do
Copy link
Member

Choose a reason for hiding this comment

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

Should this be describe service(redis_service) { it { is_expected.to be_running } } to ensure it's running?

@@ -41,10 +41,15 @@

describe 'redis over tunnel' do
if fact('hostname') == 'spipedserver'
redis_service = if fact('operatingsystemmajrelease') == '8'
Copy link
Member

Choose a reason for hiding this comment

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

This will probably break on EL8 once it's out

Copy link
Member Author

Choose a reason for hiding this comment

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

ah yes. It's only in the acceptance test code, but will need adjusting when eventually centos 8 is out and we want to test on that too.

@alexjfisher alexjfisher deleted the debian8 branch June 17, 2019 19:14
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.

None yet

3 participants