Browse Source

test fixes

pull/27/head
TomasHradecky 7 years ago
parent
commit
6dc3230f12
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      galera/clustercheck.sls
  2. +1
    -1
      tests/integration/master_cluster/checks_clustercheck_spec.rb

+ 1
- 1
galera/clustercheck.sls View File

@@ -26,7 +26,7 @@ clustercheck_dir:
- defaults:
user: nobody
server: '/usr/local/bin/clustercheck {{ clustercheck.get('user', 'clustercheck') }} {{ clustercheck.get('password', 'clustercheck') }} {{ clustercheck.get('available_when_donor', 0) }} {{ clustercheck.get('available_when_readonly', 0) }}'
port: clustercheck.get('port', 9200)
port: {{ clustercheck.get('port', 9200) }}
flags: REUSE
per_source: UNLIMITED
- require:

+ 1
- 1
tests/integration/master_cluster/checks_clustercheck_spec.rb View File

@@ -1,4 +1,4 @@
describe file('/etc/xinetd.d/mysql_clustercheck_9200') do
describe file('/etc/xinetd.d/mysql_clustercheck.conf') do
it('should exist')
its('content') { should match /clustercheck password clustercheck 1 1/ }
end

Loading…
Cancel
Save