Bladeren bron
Add integration tests for clustercheck
pull/27/head
Petr Michalec
7 jaren geleden
bovenliggende
commit
203b7ba02b
No account linked to committer's email address
2 gewijzigde bestanden met
toevoegingen van 16 en
0 verwijderingen
-
tests/integration/master-cluster/checks_clustercheck_spec.rb
-
tests/integration/slave-cluster/checks_clustercheck_spec.rb
|
|
@@ -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 |
|
|
@@ -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 |