Skip to content

Commit 5387e09

Browse files
bestanderFacebook Github Bot 3
authored and
Facebook Github Bot 3
committed
Fixed e2e test being run twice on Circle
Summary: Closes facebook#6768 Differential Revision: D3132093 fb-gh-sync-id: 9ff9208b4549ee56c4bcf5531699857056940fc9 fbshipit-source-id: 9ff9208b4549ee56c4bcf5531699857056940fc9
1 parent 02b6e38 commit 5387e09

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

circle.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ test:
7777
- source scripts/circle-ci-android-setup.sh && retry3 ./scripts/run-android-instrumentation-tests.sh com.facebook.react.tests.gradle
7878

7979
# JS and Android e2e test
80-
- ./scripts/e2e-test.sh --packager --android
80+
- source scripts/circle-ci-android-setup.sh && retry3 ./scripts/e2e-test.sh --packager --android
8181

8282
# testing docs generation is not broken
8383
- cd website && node ./server/generate.js

scripts/e2e-test.sh

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ function cleanup {
4444
rm $MARKER_IOS
4545
rm $MARKER_ANDROID
4646
[ $SERVER_PID ] && kill -9 $SERVER_PID
47+
exit $EXIT_CODE
4748
}
4849
trap cleanup EXIT
4950

0 commit comments

Comments
 (0)