Skip to content

Commit 6def555

Browse files
committed
Change host to 127.0.0.1, add timeout and debug logs
1 parent ab109f5 commit 6def555

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/actions/setup_test_action/action.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ runs:
2929
shell: bash
3030
run: |
3131
firebase emulators:start --config=./test/firebase.json &
32-
wait-on http://localhost:9099
33-
wait-on http://localhost:8080
34-
wait-on http://localhost:9000
35-
wait-on http://localhost:9199
32+
echo "Waiting for Firebase Auth emulator to start..."
33+
wait-on http://127.0.0.1:9099
34+
echo "Waiting for Firebase Firestore emulator to start..."
35+
wait-on http://127.0.0.1:8080
36+
echo "Waiting for Firebase Database emulator to start..."
37+
wait-on http://127.0.0.1:9000
38+
echo "Waiting for Firebase Storage emulator to start..."
39+
wait-on http://127.0.0.1:9199

.github/workflows/pull_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
- uses: actions/checkout@v3
6767
- name: Setup test environment
6868
uses: ./.github/actions/setup_test_action
69+
timeout-minutes: 10
6970
- name: Run JS Tests
7071
run: ./gradlew cleanTest jsTest
7172
- name: Upload JS test artifact

0 commit comments

Comments
 (0)