瀏覽代碼

Add integration tests for clustercheck

pull/27/head
Petr Michalec 7 年之前
父節點
當前提交
203b7ba02b
沒有連結到貢獻者的電子郵件帳戶。
共有 2 個檔案被更改,包括 16 行新增0 行删除
  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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存