Skip to content

Commit

Permalink
Update ports
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesSmartCell committed Oct 1, 2023
1 parent 27b1138 commit 9b5641e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
adb shell settings put global transition_animation_scale 0.0
adb shell settings put global animator_duration_scale 0.0
adb shell settings put secure show_ime_with_hard_keyboard 0
ganache --chain.chainId 2 -h 0.0.0.0 -p 8545 -m "horse light surface bamboo combine item lumber tunnel choose acid mail feature" --server.port 8555 &
ganache --chain.chainId 2 -h 0.0.0.0 -p 8555 -m "horse light surface bamboo combine item lumber tunnel choose acid mail feature" &
adb logcat >> output/emulator.log &
./gradlew :app:uninstallAll :app:connectedNoAnalyticsDebugAndroidTest -x lint -PdisablePreDex
kill %1
Expand Down
6 changes: 3 additions & 3 deletions e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ chmod 666 output/emulator.log # allow writing to log file
adb logcat >> output/emulator.log &

source ~/.bashrc
ganache --chain.chainId 2 -h 0.0.0.0 -m "horse light surface bamboo combine item lumber tunnel choose acid mail feature" --server.port 8555
ganache --chain.chainId 2 -h 0.0.0.0 -m "horse light surface bamboo combine item lumber tunnel choose acid mail feature" -p 8555
adb shell rm /storage/emulated/0/DCIM/*.png
./gradlew :app:uninstallAll :app:connectedNoAnalyticsDebugAndroidTest -x lint -PdisablePreDex
adb shell rm /storage/emulated/0/DCIM/*.png

if [ "$?" == "0" ]; then
kill -9 $(lsof -t -i:8545)
kill -9 $(lsof -t -i:8555)
exit 0
fi

Expand All @@ -38,5 +38,5 @@ fi
# Copy test report
cp -r app/build/reports/androidTests/connected/flavors/noAnalytics/ output/html

kill -9 $(lsof -t -i:8545)
kill -9 $(lsof -t -i:8555)
exit 1

0 comments on commit 9b5641e

Please sign in to comment.