File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff 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 ] ) }
You can’t perform that action at this time.
0 commit comments