Skip to content

Commit 692502c

Browse files
author
Robert-Jan Huijsman
committed
Fix two issues with the integration test script:
- The first deploy should still deploy all features; most notably, we depend on the database rules being uploaded. - If there is no 'firebase-debug.log', the failure to delete it shouldn't fail the test.
1 parent bec9f05 commit 692502c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration_test/run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
echo "##### Deploying empty index.js to project..." &&
1616
./functions/node_modules/.bin/tsc -p functions/ && # Make sure the functions/lib directory actually exists.
1717
echo "" > functions/lib/index.js &&
18-
firebase deploy --only functions --debug 2> /dev/null &&
18+
firebase deploy --debug 2> /dev/null &&
1919
echo &&
2020
echo "##### Project emptied. Deploying functions..." &&
2121
./functions/node_modules/.bin/tsc -p functions/ &&
@@ -37,7 +37,7 @@
3737
echo "" > functions/lib/index.js &&
3838
firebase deploy --only functions --debug 2> /dev/null &&
3939
rm functions/firebase-functions.tgz &&
40-
rm functions/firebase-debug.log &&
40+
rm -f functions/firebase-debug.log &&
4141
echo &&
4242
echo "##### All tests pass!"
4343
) || (

0 commit comments

Comments
 (0)