You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2021/11/30 10:10:44 UTC

[incubator-streampipes] 02/21: [STREAMPIPES-478] Wait till streampipes is started

This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git

commit baa5de00787c2869a4d0c0a633d95965b01caaa1
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Sun Nov 28 12:14:33 2021 +0100

    [STREAMPIPES-478] Wait till streampipes is started
---
 .github/workflows/cypress-test.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml
index 99636f3..3e98951 100644
--- a/.github/workflows/cypress-test.yml
+++ b/.github/workflows/cypress-test.yml
@@ -41,10 +41,21 @@ jobs:
           NODE_OPTIONS=--max_old_space_size=6096
           npm install --unsafe-perm --legacy-peer-deps
           npm run build
+
       - name: Build with Maven
         run: mvn clean package -Dmaven.test.skip=true
+
       - name: Build and run streampipes
         run: docker-compose up --build -d
+
+      - name: Wait till streampipes is started
+        uses: nev7n/wait_for_response@v1
+        with:
+          url: 'http://localhost/#/login'
+          responseCode: 200
+          timeout: 20000
+          interval: 500
+
       - name: Run Cypress Tests
         working-directory: ./ui
         run: |