Skip to content

Commit 40686bc

Browse files
SimonHoenscheidkenyon
authored andcommitted
feat: raise java test version
1 parent aefd5a8 commit 40686bc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

spec/acceptance/default_parameters_spec.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
it 'installs with defaults' do
77
pp = <<-EOS
88
$java_package = $facts['os']['family'] ? {
9-
'RedHat' => 'java-11-openjdk-headless',
10-
'Debian' => 'openjdk-11-jre-headless',
9+
'RedHat' => 'java-17-openjdk-headless',
10+
'Debian' => 'openjdk-17-jdk-headless',
1111
}
1212
1313
$java_home = $facts['os']['family'] ? {
14-
'RedHat' => '/usr/lib/jvm/jre-11-openjdk',
15-
'Debian' => '/usr/lib/jvm/java-1.11.0-openjdk-amd64',
14+
'RedHat' => '/usr/lib/jvm/jre-17-openjdk',
15+
'Debian' => '/usr/lib/jvm/java-17-openjdk-amd64',
1616
}
1717
1818
# The output of `systemctl status postgresql` is non ascii which
@@ -41,13 +41,13 @@ class { 'jira':
4141
EOS
4242
pp_upgrade = <<-EOS
4343
$java_package = $facts['os']['family'] ? {
44-
'RedHat' => 'java-11-openjdk-headless',
45-
'Debian' => 'openjdk-11-jre-headless',
44+
'RedHat' => 'java-17-openjdk-headless',
45+
'Debian' => 'openjdk-17-jdk-headless',
4646
}
4747
4848
$java_home = $facts['os']['family'] ? {
49-
'RedHat' => '/usr/lib/jvm/jre-11-openjdk',
50-
'Debian' => '/usr/lib/jvm/java-1.11.0-openjdk-amd64',
49+
'RedHat' => '/usr/lib/jvm/jre-17-openjdk',
50+
'Debian' => '/usr/lib/jvm/java-17-openjdk-amd64',
5151
}
5252
5353
class { 'jira':
@@ -100,7 +100,7 @@ class { 'jira':
100100
end
101101

102102
describe command('wget -q --tries=54 --retry-connrefused --read-timeout=10 -O- localhost:8080') do
103-
its(:stdout) { is_expected.to include('8.16.0') }
103+
its(:stdout) { is_expected.to include('9.12.18') }
104104
end
105105

106106
describe 'shutdown' do

0 commit comments

Comments
 (0)