Skip to content

Commit 2a85de4

Browse files
feat: raise java test version
1 parent 8c47726 commit 2a85de4

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
@@ -40,13 +40,13 @@ class { 'jira':
4040
EOS
4141
pp_upgrade = <<-EOS
4242
$java_package = $facts['os']['family'] ? {
43-
'RedHat' => 'java-11-openjdk-headless',
44-
'Debian' => 'openjdk-11-jre-headless',
43+
'RedHat' => 'java-17-openjdk-headless',
44+
'Debian' => 'openjdk-17-jdk-headless',
4545
}
4646
4747
$java_home = $facts['os']['family'] ? {
48-
'RedHat' => '/usr/lib/jvm/jre-11-openjdk',
49-
'Debian' => '/usr/lib/jvm/java-1.11.0-openjdk-amd64',
48+
'RedHat' => '/usr/lib/jvm/jre-17-openjdk',
49+
'Debian' => '/usr/lib/jvm/java-17-openjdk-amd64',
5050
}
5151
5252
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)