Skip to content

Commit 39138fc

Browse files
author
Michael Kluge
committed
Fix Tests #6 (try)
1 parent 7c3db65 commit 39138fc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

spec/acceptance/default_parameters_spec.rb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class { 'jira':
5454
java_package => $java_package,
5555
javahome => $java_home,
5656
script_check_java_manage => true,
57-
change_dbpassword => true
57+
change_dbpassword => true,
5858
}
5959
EOS
6060

@@ -95,10 +95,14 @@ class { 'jira':
9595
it { is_expected.to have_login_shell '/bin/true' }
9696
end
9797

98-
describe command('wget -q --tries=24 --retry-connrefused --read-timeout=10 -O- localhost:8080') do
98+
describe command('tail -100 ~jira/log/atlassian-jira.log') do
99+
its(:stdout) { is_expected.to include('INFO') }
100+
end
101+
102+
describe command('wget -q --tries=54 --retry-connrefused --read-timeout=10 -O- localhost:8080') do
99103
its(:stdout) { is_expected.to include('8.16.0') }
100104
end
101-
105+
102106
describe 'shutdown' do
103107
it { shell('service jira stop', acceptable_exit_codes: [0, 1]) }
104108
it { shell('pkill -9 -f postgres', acceptable_exit_codes: [0, 1]) }

0 commit comments

Comments
 (0)