Skip to content

Commit 4e978d1

Browse files
committed
Fixed failing e2e test
1 parent 11f00ab commit 4e978d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hack/test-end-to-end.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function wait_for_app() {
151151
wait_for_url_timed "http://${DB_IP}:5434" "[INFO] Database says: " $((3*TIME_MIN))
152152

153153
echo "[INFO] Waiting for app to start..."
154-
wait_for_url_timed "http://${FRONTEND_IP}:5432" "[INFO] Frontend says: " $((2*TIME_MIN))
154+
wait_for_url_timed "http://${FRONTEND_IP}:5432" "[INFO] Frontend says: " $((2*TIME_MIN))
155155

156156
echo "[INFO] Testing app"
157157
wait_for_command '[[ "$(curl -s -X POST http://${FRONTEND_IP}:5432/keys/foo -d value=1337)" = "Key created" ]]'
@@ -313,8 +313,8 @@ wait_for_app "test"
313313

314314
# ensure the router is started
315315
# TODO: simplify when #4702 is fixed upstream
316-
echo "[INFO] Back to 'master' context with 'admin' user..."
317-
osc project master
316+
echo "[INFO] Back to 'default' context with 'admin' user..."
317+
osc project default
318318

319319
wait_for_command '[[ "$(osc get endpoints router -t "{{ if .endpoints }}{{ len .endpoints }}{{ else }}0{{ end }}" || echo "0")" != "0" ]]' $((5*TIME_MIN))
320320

0 commit comments

Comments
 (0)