Use working war in testing
The tests break because our puppet module is not able to deploy older gerrit wars any longer. Update the tests to deploy a new 2.11 war which should work as it downloads packages from valid locations. Change-Id: Id479a7a647b02cb97294dabf943665dbd6d0e4a6
This commit is contained in:
parent
bc0447b7b6
commit
586ad6859e
@ -121,7 +121,7 @@ describe 'basic gerrit', :if => ['debian', 'ubuntu'].include?(os[:family]) do
|
||||
|
||||
describe command("curl http://localhost --insecure --location") do
|
||||
its(:stdout) { should contain('Gerrit Code Review') }
|
||||
its(:stdout) { should contain('version":"2.8.4-19-g4548330') }
|
||||
its(:stdout) { should contain('"version":"2.11.4-13-gcb9800e"') }
|
||||
end
|
||||
|
||||
describe port(443) do
|
||||
@ -130,7 +130,7 @@ describe 'basic gerrit', :if => ['debian', 'ubuntu'].include?(os[:family]) do
|
||||
|
||||
describe command("curl https://localhost --insecure --location") do
|
||||
its(:stdout) { should contain('Gerrit Code Review') }
|
||||
its(:stdout) { should contain('version":"2.8.4-19-g4548330') }
|
||||
its(:stdout) { should contain('"version":"2.11.4-13-gcb9800e"') }
|
||||
end
|
||||
|
||||
describe port(8081) do
|
||||
|
@ -23,7 +23,7 @@ class { '::gerrit::mysql':
|
||||
class { '::gerrit':
|
||||
mysql_host => 'localhost',
|
||||
mysql_password => '12345',
|
||||
war => 'http://tarballs.openstack.org/ci/gerrit/gerrit-v2.8.4.19.4548330.war',
|
||||
war => 'http://tarballs.openstack.org/ci/test/gerrit-v2.11.4.13.cb9800e.war',
|
||||
ssh_rsa_key_contents => file('/tmp/gerrit-ssh-keys/ssh_rsa_key'),
|
||||
ssh_rsa_pubkey_contents => file('/tmp/gerrit-ssh-keys/ssh_rsa_key.pub'),
|
||||
ssh_project_rsa_key_contents => file('/tmp/gerrit-ssh-keys/ssh_project_rsa_key'),
|
||||
|
Loading…
Reference in New Issue
Block a user