Skip to content

Commit 230392b

Browse files
test: check correct port number
1 parent a4c69a2 commit 230392b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/swiftui/FirebaseSwiftUIExample/FirebaseSwiftUIExample/start-firebase-emulator.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ while [ $RETRIES -le $MAX_RETRIES ]; do
3333
CHECKATTEMPTS=1
3434
while [ $CHECKATTEMPTS -le $MAX_CHECKATTEMPTS ]; do
3535
sleep $CHECKATTEMPTS_WAIT
36-
if curl --output /dev/null --silent --fail http://localhost:8080; then
36+
if curl --output /dev/null --silent --fail http://localhost:9099; then
3737
# Check again since it can exit before the emulator is ready.
3838
sleep 15
39-
if curl --output /dev/null --silent --fail http://localhost:8080; then
39+
if curl --output /dev/null --silent --fail http://localhost:9099; then
4040
echo "Firebase Emulator is online!"
4141
exit 0
4242
else

0 commit comments

Comments
 (0)