Skip to content

Commit

Permalink
Fixed e2e test being run twice on Circle
Browse files Browse the repository at this point in the history
Summary: Closes facebook#6768

Differential Revision: D3132093

fb-gh-sync-id: 9ff9208b4549ee56c4bcf5531699857056940fc9
fbshipit-source-id: 9ff9208b4549ee56c4bcf5531699857056940fc9
  • Loading branch information
bestander authored and Facebook Github Bot 3 committed Apr 3, 2016
1 parent 02b6e38 commit 5387e09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ test:
- source scripts/circle-ci-android-setup.sh && retry3 ./scripts/run-android-instrumentation-tests.sh com.facebook.react.tests.gradle

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

# testing docs generation is not broken
- cd website && node ./server/generate.js
Expand Down
1 change: 1 addition & 0 deletions scripts/e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function cleanup {
rm $MARKER_IOS
rm $MARKER_ANDROID
[ $SERVER_PID ] && kill -9 $SERVER_PID
exit $EXIT_CODE
}
trap cleanup EXIT

Expand Down

0 comments on commit 5387e09

Please sign in to comment.