abiquo-installer-tests 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake'
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
7
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
8
- gem.version = '0.2.1'
8
+ gem.version = '0.2.2'
9
9
  gem.name = "abiquo-installer-tests"
10
10
  gem.homepage = "http://github.com/abiquo/abiquo-installer-tests"
11
11
  gem.license = "MIT"
@@ -0,0 +1,21 @@
1
+ require 'abiquo_platform'
2
+ require 'abiquo_remote_services'
3
+ require 'abiquo_server'
4
+ require 'abiquo_v2v'
5
+ require 'abiquo_monolithic'
6
+ require 'abiquo_kvm'
7
+ require 'abiquo_lvmiscsi'
8
+
9
+ class AbiquoCIABTest < Test::Unit::TestCase
10
+ def test_lvm_tomcat_dir
11
+ assert File.directory? '/opt/abiquo/lvmiscsi/tomcat/'
12
+ end
13
+
14
+ #
15
+ # overriding abiquo_platform test
16
+ # FW can be safely enabled in CIAB installs
17
+ #
18
+ def test_firewall_service_enabled
19
+ assert true
20
+ end
21
+ end
@@ -0,0 +1,25 @@
1
+ class AbiquoKVMTest < Test::Unit::TestCase
2
+
3
+ def test_aim_running
4
+ assert !`ps aux|grep abiquo-aim`.strip.chomp.empty?
5
+ end
6
+
7
+ def test_aim_service_enabled
8
+ assert ::TestUtils.service_on?('abiquo-aim')
9
+ end
10
+
11
+ def test_libvirtd_service_enabled
12
+ assert ::TestUtils.service_on?('libvirtd')
13
+ end
14
+
15
+ def test_abiquo_aim_properties_file
16
+ assert File.exist? '/etc/abiquo-aim.ini'
17
+ end
18
+
19
+ def test_nfs_mounted
20
+ if !::TestUtils.installer_profiles.include?('cloud-in-a-box')
21
+ assert !`mount|grep vm_repository`.strip.chomp.empty?
22
+ end
23
+ end
24
+
25
+ end
@@ -0,0 +1,17 @@
1
+ class AbiquoLVMISCSITest < Test::Unit::TestCase
2
+
3
+ def test_tomcat_running
4
+ assert !`ps aux|grep java|grep '/opt/abiquo/lvmiscsi/tomcat'`.strip.chomp.empty?
5
+ end
6
+
7
+ def test_tomcat_enabled
8
+ assert ::TestUtils.service_on?('abiquo-lvmiscsi')
9
+ end
10
+
11
+ def test_firewall_service_enabled
12
+ unless ::TestUtils.installer_profiles.include? 'cloud-in-a-box'
13
+ assert !::TestUtils.service_on?('iptables')
14
+ end
15
+ end
16
+
17
+ end
@@ -0,0 +1,12 @@
1
+ require 'abiquo_platform'
2
+ require 'abiquo_remote_services'
3
+ require 'abiquo_server'
4
+ require 'abiquo_v2v'
5
+
6
+ class AbiquoMonolithicTest < Test::Unit::TestCase
7
+ def test_webapps
8
+ %w(am api bpm-async client-premium legal nodecollector ROOT server ssm virtualfactory vsm).each do |w|
9
+ assert(File.directory? "/opt/abiquo/tomcat/webapps/#{w}")
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,23 @@
1
+ class NFSRepositoryTest < Test::Unit::TestCase
2
+
3
+ def test_abiquo_repository_file
4
+ assert File.exist? '/opt/vm_repository/.abiquo_repository'
5
+ end
6
+
7
+ def test_exports_file
8
+ assert File.exist? '/etc/exports'
9
+ end
10
+
11
+ def test_exports_file_contents
12
+ count = 0
13
+ File.read('/etc/exports').each_line do |l|
14
+ count += 1 if l =~ /\/opt\/vm_repository/
15
+ end
16
+ assert(count == 1)
17
+ end
18
+
19
+ def test_nfs_service_on
20
+ assert(::TestUtils.service_on? 'nfs')
21
+ end
22
+
23
+ end
@@ -0,0 +1,23 @@
1
+ class AbiquoPlatformTest < Test::Unit::TestCase
2
+
3
+ def test_tomcat_running
4
+ assert !`ps aux|grep java|grep '/opt/abiquo/tomcat'`.strip.chomp.empty?,
5
+ "Abiquo Tomcat is not Running"
6
+ end
7
+
8
+ def test_tomcat_enabled
9
+ assert ::TestUtils.service_on?('abiquo-tomcat'),
10
+ "abiquo-tomcat service is not enabled"
11
+ end
12
+
13
+ def test_abiquo_dir
14
+ assert File.directory?('/opt/abiquo/tomcat'),
15
+ "/opt/abiquo/tomcat directory does not exist"
16
+ end
17
+
18
+ def test_firewall_service_enabled
19
+ assert !::TestUtils.service_on?('iptables'),
20
+ "iptables service is enabled. This might be ok but double check if you are having network issues"
21
+ end
22
+
23
+ end
@@ -0,0 +1,107 @@
1
+ require 'abiquo_platform'
2
+
3
+ class AbiquoRemoteServicesTest < Test::Unit::TestCase
4
+
5
+ def test_abiquo_properties_present
6
+ assert File.exist?('/opt/abiquo/config/abiquo.properties'),
7
+ 'abiquo.properties file not found'
8
+ end
9
+
10
+ def test_redis_running
11
+ assert !`ps aux|grep java|grep redis`.strip.chomp.empty?,
12
+ 'redis is not running'
13
+
14
+ end
15
+
16
+ def test_nfs_mounted
17
+ if not ::TestUtils.installer_profiles.include?('abiquo-nfs-repository') and \
18
+ !::TestUtils.installer_profiles.include?('cloud-in-a-box')
19
+ assert !`mount|grep vm_repository`.strip.chomp.empty?
20
+ end
21
+ end
22
+
23
+ def test_dhcpd_enabled
24
+ assert ::TestUtils.service_on?('dhcpd')
25
+ end
26
+
27
+ def test_am
28
+ assert ::TestUtils.web_service_ok?('/am/check')
29
+ end
30
+
31
+ def test_vsm
32
+ assert ::TestUtils.web_service_ok?('/vsm/check')
33
+ end
34
+
35
+ def test_nodecollector
36
+ assert ::TestUtils.web_service_ok?('/nodecollector/check')
37
+ end
38
+
39
+ def test_ssm
40
+ assert ::TestUtils.web_service_ok?('/ssm/check')
41
+ end
42
+
43
+ def test_virtualfactory
44
+ assert ::TestUtils.web_service_ok?('/virtualfactory/check')
45
+ end
46
+
47
+ def test_abiquo_repository_file
48
+ assert File.exist? '/opt/vm_repository/.abiquo_repository'
49
+ end
50
+
51
+ def test_properties
52
+ require 'iniparse'
53
+ config = IniParse.parse(File.read('/opt/abiquo/config/abiquo.properties'))
54
+ assert !config['remote-services'].nil?,
55
+ "[remote-services] section in /opt/abiquo/config/abiquo.properties is missing"
56
+
57
+ assert !config['remote-services']['abiquo.virtualfactory.hyperv.repositoryLocation'].nil?,
58
+ "abiquo.virtualfactory.hyperv.repositoryLocation property is missing in abiquo.properties"
59
+
60
+ assert !config['remote-services']['abiquo.rabbitmq.username'].nil?,
61
+ "abiquo.rabbitmq.username property is missing in abiquo.properties"
62
+
63
+ assert !config['remote-services']['abiquo.rabbitmq.password'].nil?,
64
+ "abiquo.rabbitmq.password property is missing in abiquo.properties"
65
+
66
+ assert !config['remote-services']['abiquo.rabbitmq.host'].nil?,
67
+ "abiquo.rabbitmq.host property is missing in abiquo.properties"
68
+
69
+ assert !config['remote-services']['abiquo.rabbitmq.port'].nil?,
70
+ "abiquo.rabbitmq.port property is missing in abiquo.properties"
71
+
72
+ assert !config['remote-services']['abiquo.appliancemanager.localRepositoryPath'].nil?,
73
+ "abiquo.appliancemanager.localRepositoryPath property is missing in abiquo.properties"
74
+
75
+ assert !config['remote-services']['abiquo.appliancemanager.repositoryLocation'].nil?,
76
+ "abiquo.appliancemanager.repositoryLocation property is missing in abiquo.properties"
77
+
78
+ assert !config['remote-services']['abiquo.virtualfactory.xenserver.repositoryLocation'].nil?,
79
+ "abiquo.virtualfactory.xenserver.repositoryLocation property is missing in abiquo.properties"
80
+
81
+ assert !config['remote-services']['abiquo.virtualfactory.vmware.repositoryLocation'].nil?,
82
+ "abiquo.virtualfactory.vmware.repositoryLocation property is missing in abiquo.properties"
83
+
84
+ assert !config['remote-services']['abiquo.virtualfactory.storagelink.user'].nil?,
85
+ "abiquo.virtualfactory.storagelink.user property is missing in abiquo.properties"
86
+
87
+ assert !config['remote-services']['abiquo.virtualfactory.storagelink.password'].nil?,
88
+ "abiquo.virtualfactory.storagelink.password property is missing in abiquo.properties"
89
+
90
+ assert !config['remote-services']['abiquo.virtualfactory.storagelink.address'].nil?,
91
+ "abiquo.virtualfactory.storagelink.address property is missing in abiquo.properties"
92
+
93
+ assert !config['remote-services']['abiquo.redis.port'].nil?,
94
+ "abiquo.redis.port is missing in abiquo.properties"
95
+
96
+ assert !config['remote-services']['abiquo.redis.host'].nil?,
97
+ "abiquo.redis.host is missing in abiquo.properties"
98
+
99
+ assert !config['remote-services']['abiquo.storagemanager.netapp.user'].nil?,
100
+ "abiquo.storagemanager.netapp.user is missing in abiquo.properties"
101
+
102
+ assert !config['remote-services']['abiquo.storagemanager.netapp.password'].nil?,
103
+ "abiquo.storagemanager.netapp.password is missing in abiquo.properties"
104
+
105
+ end
106
+
107
+ end
@@ -0,0 +1,61 @@
1
+ require 'abiquo_platform'
2
+
3
+ class AbiquoServerTest < Test::Unit::TestCase
4
+
5
+ def test_abiquo_properties_present
6
+ assert File.exist? '/opt/abiquo/config/abiquo.properties'
7
+ end
8
+
9
+ def test_mysql_schema_present
10
+ assert(`mysql -e 'show databases' 2>&1` =~ /kinton/m)
11
+ end
12
+
13
+ def test_mysql_running
14
+ assert !`service mysqld status|grep running`.strip.chomp.empty?
15
+ end
16
+
17
+ def test_rabbit_running
18
+ assert !`ps aux|grep java|grep rabbitmq`.strip.chomp.empty?
19
+ end
20
+
21
+ def test_server_ws
22
+ assert ::TestUtils.web_service_ok?('/server/messagebroker/amf')
23
+ end
24
+
25
+ def test_properties
26
+ require 'iniparse'
27
+ config = IniParse.parse(File.read('/opt/abiquo/config/abiquo.properties'))
28
+ assert !config['server'].nil?,
29
+ "[server] section is missing in missing in abiquo.properties"
30
+
31
+ assert !config['server']['abiquo.server.sessionTimeout'].nil?,
32
+ "abiquo.server.sessionTimeout is missing in abiquo.properties"
33
+
34
+ assert !config['server']['abiquo.server.mail.server'].nil?,
35
+ "abiquo.server.mail.server is missing in abiquo.properties"
36
+
37
+ assert !config['server']['abiquo.server.mail.user'].nil?,
38
+ "abiquo.server.mail.user is missing in abiquo.properties"
39
+
40
+ assert !config['server']['abiquo.server.mail.password'].nil?,
41
+ "abiquo.server.mail.password is missing in abiquo.properties"
42
+
43
+ assert !config['server']['abiquo.rabbitmq.username'].nil?,
44
+ "abiquo.rabbitmq.username is missing in abiquo.properties"
45
+
46
+ assert !config['server']['abiquo.rabbitmq.password'].nil?,
47
+ "abiquo.rabbitmq.host is missing in abiquo.properties"
48
+
49
+ assert !config['server']['abiquo.rabbitmq.host'].nil?,
50
+ "abiquo.rabbitmq.host is missing in abiquo.properties"
51
+
52
+ assert !config['server']['abiquo.rabbitmq.port'].nil?,
53
+ "abiquo.rabbitmq.port is missing in abiquo.properties"
54
+
55
+ assert !config['server']['abiquo.database.user'].nil?,
56
+ "abiquo.database.user is missing in abiquo.properties"
57
+
58
+ end
59
+
60
+ end
61
+
@@ -0,0 +1,37 @@
1
+ require 'abiquo_platform'
2
+
3
+ class AbiquoV2VTest < Test::Unit::TestCase
4
+
5
+ def test_tomcat_running
6
+ assert !`ps aux|grep java|grep '/opt/abiquo/tomcat'`.strip.chomp.empty?
7
+ end
8
+
9
+ def test_nfs_mounted
10
+ if (not ::TestUtils.installer_profiles.include?('abiquo-nfs-repository')) and \
11
+ (! ::TestUtils.installer_profiles.include?('cloud-in-a-box'))
12
+ assert !`mount|grep vm_repository`.strip.chomp.empty?
13
+ end
14
+ end
15
+
16
+ def test_abiquo_repository_file
17
+ assert File.exist? '/opt/vm_repository/.abiquo_repository'
18
+ end
19
+
20
+ def test_tomcat_enabled
21
+ assert ::TestUtils.service_on?('abiquo-tomcat')
22
+ end
23
+
24
+ def test_v2v_context_present
25
+ assert File.directory? '/opt/abiquo/tomcat/webapps/bpm-async'
26
+ end
27
+
28
+ def test_v2v_scripts
29
+ assert File.exist?('/usr/bin/mechadora')
30
+ assert File.exist?('/usr/bin/v2v-diskmanager')
31
+ end
32
+
33
+ def test_abiquo_dir
34
+ assert File.directory? '/opt/abiquo'
35
+ end
36
+
37
+ end
@@ -0,0 +1,27 @@
1
+ class AbiquoVBoxTest < Test::Unit::TestCase
2
+
3
+ def test_aim_running
4
+ assert !`ps aux|grep abiquo-aim`.strip.chomp.empty?
5
+ end
6
+
7
+ def test_aim_service_enabled
8
+ assert ::TestUtils.service_on?('abiquo-aim')
9
+ end
10
+
11
+ def test_libvirtd_service_enabled
12
+ assert ::TestUtils.service_on?('libvirtd')
13
+ end
14
+
15
+ def test_firewall_service_enabled
16
+ assert !::TestUtils.service_on?('iptables')
17
+ end
18
+
19
+ def test_abiquo_aim_properties_file
20
+ assert File.exist? '/etc/abiquo-aim.ini'
21
+ end
22
+
23
+ def test_nfs_mounted
24
+ assert !`mount|grep vm_repository`.strip.chomp.empty?
25
+ end
26
+
27
+ end
@@ -0,0 +1,27 @@
1
+ class AbiquoXenTest < Test::Unit::TestCase
2
+
3
+ def test_aim_running
4
+ assert !`ps aux|grep abiquo-aim`.strip.chomp.empty?
5
+ end
6
+
7
+ def test_aim_service_enabled
8
+ assert ::TestUtils.service_on?('abiquo-aim')
9
+ end
10
+
11
+ def test_libvirtd_service_enabled
12
+ assert ::TestUtils.service_on?('libvirtd')
13
+ end
14
+
15
+ def test_firewall_service_enabled
16
+ assert !::TestUtils.service_on?('iptables')
17
+ end
18
+
19
+ def test_abiquo_aim_properties_file
20
+ assert File.exist? '/etc/abiquo-aim.ini'
21
+ end
22
+
23
+ def test_nfs_mounted
24
+ assert !`mount|grep vm_repository`.strip.chomp.empty?
25
+ end
26
+
27
+ end
@@ -3,11 +3,14 @@ require 'abiquo_platform'
3
3
  class AbiquoRemoteServicesTest < Test::Unit::TestCase
4
4
 
5
5
  def test_abiquo_properties_present
6
- assert File.exist? '/opt/abiquo/config/abiquo.properties'
6
+ assert File.exist?('/opt/abiquo/config/abiquo.properties'),
7
+ 'abiquo.properties file not found'
7
8
  end
8
9
 
9
10
  def test_redis_running
10
- assert !`ps aux|grep java|grep redis`.strip.chomp.empty?
11
+ assert !`ps aux|grep java|grep redis`.strip.chomp.empty?,
12
+ 'redis is not running'
13
+
11
14
  end
12
15
 
13
16
  def test_nfs_mounted
@@ -48,26 +51,65 @@ class AbiquoRemoteServicesTest < Test::Unit::TestCase
48
51
  def test_properties
49
52
  require 'iniparse'
50
53
  config = IniParse.parse(File.read('/opt/abiquo/config/abiquo.properties'))
51
- assert !config['remote-services'].nil?
52
- assert !config['remote-services']['abiquo.virtualfactory.hyperv.repositoryLocation'].nil?
53
- assert !config['remote-services']['abiquo.rabbitmq.username'].nil?
54
- assert !config['remote-services']['abiquo.rabbitmq.password'].nil?
55
- assert !config['remote-services']['abiquo.rabbitmq.host'].nil?
56
- assert !config['remote-services']['abiquo.rabbitmq.port'].nil?
57
- assert !config['remote-services']['abiquo.appliancemanager.localRepositoryPath'].nil?
58
- assert !config['remote-services']['abiquo.appliancemanager.repositoryLocation'].nil?
59
- assert !config['remote-services']['abiquo.virtualfactory.xenserver.repositoryLocation'].nil?
60
- assert !config['remote-services']['abiquo.virtualfactory.vmware.repositoryLocation'].nil?
61
- assert !config['remote-services']['abiquo.virtualfactory.storagelink.user'].nil?
62
- assert !config['remote-services']['abiquo.virtualfactory.storagelink.password'].nil?
63
- assert !config['remote-services']['abiquo.virtualfactory.storagelink.address'].nil?
64
- assert !config['remote-services']['abiquo.redis.port'].nil?
65
- assert !config['remote-services']['abiquo.redis.host'].nil?
66
- assert !config['remote-services']['abiquo.storagemanager.netapp.user'].nil?
67
- assert !config['remote-services']['abiquo.storagemanager.netapp.password'].nil?
68
- assert !config['remote-services']['abiquo.dvs.enabled'].nil?
69
- assert !config['remote-services']['abiquo.dvs.vcenter.user'].nil?
70
- assert !config['remote-services']['abiquo.dvs.vcenter.password'].nil?
54
+ assert !config['remote-services'].nil?,
55
+ "[remote-services] section in /opt/abiquo/config/abiquo.properties is missing"
56
+
57
+ assert !config['remote-services']['abiquo.virtualfactory.hyperv.repositoryLocation'].nil?,
58
+ "abiquo.virtualfactory.hyperv.repositoryLocation property is missing in abiquo.properties"
59
+
60
+ assert !config['remote-services']['abiquo.rabbitmq.username'].nil?,
61
+ "abiquo.rabbitmq.username property is missing in abiquo.properties"
62
+
63
+ assert !config['remote-services']['abiquo.rabbitmq.password'].nil?,
64
+ "abiquo.rabbitmq.password property is missing in abiquo.properties"
65
+
66
+ assert !config['remote-services']['abiquo.rabbitmq.host'].nil?,
67
+ "abiquo.rabbitmq.host property is missing in abiquo.properties"
68
+
69
+ assert !config['remote-services']['abiquo.rabbitmq.port'].nil?,
70
+ "abiquo.rabbitmq.port property is missing in abiquo.properties"
71
+
72
+ assert !config['remote-services']['abiquo.appliancemanager.localRepositoryPath'].nil?,
73
+ "abiquo.appliancemanager.localRepositoryPath property is missing in abiquo.properties"
74
+
75
+ assert !config['remote-services']['abiquo.appliancemanager.repositoryLocation'].nil?,
76
+ "abiquo.appliancemanager.repositoryLocation property is missing in abiquo.properties"
77
+
78
+ assert !config['remote-services']['abiquo.virtualfactory.xenserver.repositoryLocation'].nil?,
79
+ "abiquo.virtualfactory.xenserver.repositoryLocation property is missing in abiquo.properties"
80
+
81
+ assert !config['remote-services']['abiquo.virtualfactory.vmware.repositoryLocation'].nil?,
82
+ "abiquo.virtualfactory.vmware.repositoryLocation property is missing in abiquo.properties"
83
+
84
+ assert !config['remote-services']['abiquo.virtualfactory.storagelink.user'].nil?,
85
+ "abiquo.virtualfactory.storagelink.user property is missing in abiquo.properties"
86
+
87
+ assert !config['remote-services']['abiquo.virtualfactory.storagelink.password'].nil?,
88
+ "abiquo.virtualfactory.storagelink.password property is missing in abiquo.properties"
89
+
90
+ assert !config['remote-services']['abiquo.virtualfactory.storagelink.address'].nil?,
91
+ "abiquo.virtualfactory.storagelink.address property is missing in abiquo.properties"
92
+
93
+ assert !config['remote-services']['abiquo.redis.port'].nil?,
94
+ "abiquo.redis.port is missing in abiquo.properties"
95
+
96
+ assert !config['remote-services']['abiquo.redis.host'].nil?,
97
+ "abiquo.redis.host is missing in abiquo.properties"
98
+
99
+ assert !config['remote-services']['abiquo.storagemanager.netapp.user'].nil?,
100
+ "abiquo.storagemanager.netapp.user is missing in abiquo.properties"
101
+
102
+ assert !config['remote-services']['abiquo.storagemanager.netapp.password'].nil?,
103
+ "abiquo.storagemanager.netapp.password is missing in abiquo.properties"
104
+
105
+ assert !config['remote-services']['abiquo.dvs.enabled'].nil?,
106
+ "abiquo.dvs.enabled is missing in abiquo.properties"
107
+
108
+ assert !config['remote-services']['abiquo.dvs.vcenter.user'].nil?,
109
+ "abiquo.dvs.vcenter.user is missing in abiquo.properties"
110
+
111
+ assert !config['remote-services']['abiquo.dvs.vcenter.password'].nil?,
112
+ "abiquo.dvs.vcenter.password is missing in abiquo.properties"
71
113
  end
72
114
 
73
115
  end
@@ -25,17 +25,38 @@ class AbiquoServerTest < Test::Unit::TestCase
25
25
  def test_properties
26
26
  require 'iniparse'
27
27
  config = IniParse.parse(File.read('/opt/abiquo/config/abiquo.properties'))
28
- assert !config['server'].nil?
29
- assert !config['server']['abiquo.server.sessionTimeout'].nil?
30
- assert !config['server']['abiquo.server.mail.server'].nil?
31
- assert !config['server']['abiquo.server.mail.user'].nil?
32
- assert !config['server']['abiquo.server.mail.password'].nil?
33
- assert !config['server']['abiquo.rabbitmq.username'].nil?
34
- assert !config['server']['abiquo.rabbitmq.password'].nil?
35
- assert !config['server']['abiquo.rabbitmq.host'].nil?
36
- assert !config['server']['abiquo.rabbitmq.port'].nil?
37
- assert !config['server']['abiquo.database.user'].nil?
38
- assert !config['server']['abiquo.auth.module'].nil?
28
+ assert !config['server'].nil?,
29
+ "[server] section is missing in missing in abiquo.properties"
30
+
31
+ assert !config['server']['abiquo.server.sessionTimeout'].nil?,
32
+ "abiquo.server.sessionTimeout is missing in abiquo.properties"
33
+
34
+ assert !config['server']['abiquo.server.mail.server'].nil?,
35
+ "abiquo.server.mail.server is missing in abiquo.properties"
36
+
37
+ assert !config['server']['abiquo.server.mail.user'].nil?,
38
+ "abiquo.server.mail.user is missing in abiquo.properties"
39
+
40
+ assert !config['server']['abiquo.server.mail.password'].nil?,
41
+ "abiquo.server.mail.password is missing in abiquo.properties"
42
+
43
+ assert !config['server']['abiquo.rabbitmq.username'].nil?,
44
+ "abiquo.rabbitmq.username is missing in abiquo.properties"
45
+
46
+ assert !config['server']['abiquo.rabbitmq.password'].nil?,
47
+ "abiquo.rabbitmq.host is missing in abiquo.properties"
48
+
49
+ assert !config['server']['abiquo.rabbitmq.host'].nil?,
50
+ "abiquo.rabbitmq.host is missing in abiquo.properties"
51
+
52
+ assert !config['server']['abiquo.rabbitmq.port'].nil?,
53
+ "abiquo.rabbitmq.port is missing in abiquo.properties"
54
+
55
+ assert !config['server']['abiquo.database.user'].nil?,
56
+ "abiquo.database.user is missing in abiquo.properties"
57
+
58
+ assert !config['server']['abiquo.auth.module'].nil?,
59
+ "abiquo.auth.module is missing in abiquo.properties"
39
60
  end
40
61
 
41
62
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abiquo-installer-tests
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sergio Rubio
@@ -119,6 +119,17 @@ files:
119
119
  - README.md
120
120
  - Rakefile
121
121
  - bin/abiquo-installer-tests
122
+ - tests/1.7.6/abiquo_ciab.rb
123
+ - tests/1.7.6/abiquo_kvm.rb
124
+ - tests/1.7.6/abiquo_lvmiscsi.rb
125
+ - tests/1.7.6/abiquo_monolithic.rb
126
+ - tests/1.7.6/abiquo_nfs_repository.rb
127
+ - tests/1.7.6/abiquo_platform.rb
128
+ - tests/1.7.6/abiquo_remote_services.rb
129
+ - tests/1.7.6/abiquo_server.rb
130
+ - tests/1.7.6/abiquo_v2v.rb
131
+ - tests/1.7.6/abiquo_vbox.rb
132
+ - tests/1.7.6/abiquo_xen.rb
122
133
  - tests/1.8.0/abiquo_ciab.rb
123
134
  - tests/1.8.0/abiquo_kvm.rb
124
135
  - tests/1.8.0/abiquo_lvmiscsi.rb