Skip to content

Commit

Permalink
Fix kafka::producer test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjfisher committed Mar 25, 2020
1 parent 059dc79 commit ac88dc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/acceptance/producer_spec.rb
Expand Up @@ -71,8 +71,8 @@ class { 'kafka::producer':

describe file('/opt/kafka/config') do
it { is_expected.to be_directory }
it { is_expected.to be_owned_by 'kafka' }
it { is_expected.to be_grouped_into 'kafka' }
it { is_expected.to be_owned_by 'root' }
it { is_expected.to be_grouped_into 'root' }
end

describe file('/var/log/kafka') do
Expand Down Expand Up @@ -133,7 +133,7 @@ class { 'kafka::producer':
describe file('/etc/init.d/kafka-producer') do
it { is_expected.to be_file }
it { is_expected.to be_owned_by 'root' }
it { is_expected.to be_grouped_into 'root' }
it { is_expected.to be_grouped_into 'kafka' }
it { is_expected.to contain 'export KAFKA_JMX_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=9992"' }
it { is_expected.to contain 'export KAFKA_LOG4J_OPTS="-Dlog4j.configuration=file:/opt/kafka/config/log4j.properties"' }
end
Expand Down

0 comments on commit ac88dc8

Please sign in to comment.