87968: Kill app if still up after e2e tests

This commit is contained in:
Yura Bondarenko
2022-03-29 16:20:53 +02:00
parent 99c41b9e80
commit 22ac66787a
2 changed files with 9 additions and 1 deletions

View File

@@ -129,6 +129,14 @@ jobs:
name: e2e-test-screenshots
path: cypress/screenshots
- name: Stop app (in case it stays up after e2e tests)
run: |
app_pid=$(lsof -t -i:4000)
if [[ ! -z $app_pid ]]; then
echo "App was still up! (PID: $app_pid)"
kill -9 $app_pid
fi
# Start up the app with SSR enabled (run in background)
- name: Start app in SSR (server-side rendering) mode
run: |

View File

@@ -26,7 +26,7 @@ export interface MyDSpaceActionsResult {
*/
@Component({
selector: 'ds-mydspace-actions-abstract',
template: ''
template: '',
})
export abstract class MyDSpaceActionsComponent<T extends DSpaceObject, TService extends DataService<T>> {