Sha256: b207d9111d03c829b5a1968c5d0cd4b094f7b8b6ce51840d7f089142f366a6d9

Contents?: true

Size: 557 Bytes

Versions: 4

Compression:

Stored size: 557 Bytes

Contents

class AbiquoLVMISCSITest < Test::Unit::TestCase
  
    def test_tomcat_running
      assert !`ps aux|grep java|grep '/opt/abiquo/lvmiscsi/tomcat'`.strip.chomp.empty?,"lvmiscsi webapp does not exist."
    end
    
    def test_tomcat_enabled
      assert ::TestUtils.service_on?('abiquo-lvmiscsi'),"abiquo-lvmiscsi service not enabled."
    end

    def test_firewall_service_enabled
      unless ::TestUtils.installer_profiles.include? 'cloud-in-a-box'
        assert !::TestUtils.service_on?('iptables'),"WARNING: iptables enabled."
      end
    end

end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
abiquo-installer-tests-20121026.1 tests/2.2.0/abiquo_lvmiscsi.rb
abiquo-installer-tests-20121026.1 tests/2.3.0/abiquo_lvmiscsi.rb
abiquo-installer-tests-20121023.3 tests/2.2.0/abiquo_lvmiscsi.rb
abiquo-installer-tests-20121023.3 tests/2.3.0/abiquo_lvmiscsi.rb