File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -164,13 +164,20 @@ jobs:
164164 if : ${{ runner.os == 'Linux' }}
165165 run : |
166166 cd ./OpenSearch-Dashboards
167- if timeout 60 grep -q "http server running" <(tail -n +1 -f dashboard.log); then
167+ if timeout 1200 grep -q "http server running" <(tail -n +1 -f dashboard.log); then
168168 echo "OpenSearch Dashboards started successfully."
169169 else
170- echo "Timeout of 60 seconds reached. OpenSearch Dashboards did not start successfully."
170+ echo "Timeout of 1200 seconds reached. OpenSearch Dashboards did not start successfully."
171171 exit 1
172172 fi&
173173
174+ - name : Upload Dashboards logs
175+ uses : actions/upload-artifact@v4
176+ if : failure()
177+ with :
178+ name : dashboard.logs
179+ path : OpenSearch-Dashboards/dashboard.log
180+
174181 - name : Checkout Dashboards Functioanl Test Repo
175182 uses : actions/checkout@v2
176183 with :
Original file line number Diff line number Diff line change @@ -173,13 +173,20 @@ jobs:
173173 if : ${{ runner.os == 'Linux' }}
174174 run : |
175175 cd ./OpenSearch-Dashboards
176- if timeout 60 grep -q "http server running" <(tail -n +1 -f dashboard.log); then
176+ if timeout 1200 grep -q "http server running" <(tail -n +1 -f dashboard.log); then
177177 echo "OpenSearch Dashboards started successfully."
178178 else
179- echo "Timeout of 60 seconds reached. OpenSearch Dashboards did not start successfully."
179+ echo "Timeout of 1200 seconds reached. OpenSearch Dashboards did not start successfully."
180180 exit 1
181181 fi&
182182
183+ - name : Upload Dashboards logs
184+ uses : actions/upload-artifact@v4
185+ if : failure()
186+ with :
187+ name : dashboard.logs
188+ path : OpenSearch-Dashboards/dashboard.log
189+
183190 - name : Install Cypress
184191 run : |
185192 cd ./OpenSearch-Dashboards/plugins/dashboards-observability
You can’t perform that action at this time.
0 commit comments