Browse Source

Merge pull request #2 from salt-formulas/pr/27

Add integration tests for clustercheck
pull/27/head
TomasHradecky 7 years ago
parent
commit
c9052c9b3f
2 changed files with 16 additions and 0 deletions
  1. +8
    -0
      tests/integration/master-cluster/checks_clustercheck_spec.rb
  2. +8
    -0
      tests/integration/slave-cluster/checks_clustercheck_spec.rb

+ 8
- 0
tests/integration/master-cluster/checks_clustercheck_spec.rb View File

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

describe file('/usr/local/bin/mysql_clustercheck') do
it('should exist')
end

+ 8
- 0
tests/integration/slave-cluster/checks_clustercheck_spec.rb View File

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

describe file('/usr/local/bin/mysql_clustercheck') do
it('should exist')
end

Loading…
Cancel
Save