Skip to content

Commit b1fbe04

Browse files
committed
Removed hosts file modifications and adb remount from ci-wait-for-emulator.sh
1 parent b7704e1 commit b1fbe04

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

script/ci-wait-for-emulator.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set -euo pipefail
99
set -o xtrace
1010

1111
adb wait-for-device
12+
# shellcheck disable=SC2016
1213
adb shell 'while [[ "$(getprop sys.boot_completed)" != "1" ]]; do sleep 1; done;'
1314
adb shell wm dismiss-keyguard || true
1415

@@ -21,14 +22,8 @@ adb shell settings put global animator_duration_scale 0
2122
# as we can't use 443 directly for a mock web server.
2223
###################################################################################################
2324
adb root
24-
25-
adb remount
26-
27-
adb shell 'echo "10.0.2.2 fes.flowcrypt.test" >> /system/etc/hosts'
28-
adb shell 'echo "10.0.2.2 fel.flowcrypt.test" >> /system/etc/hosts'
29-
adb shell 'echo "10.0.2.2 fel.localhost" >> /system/etc/hosts'
30-
3125
adb wait-for-device
26+
# shellcheck disable=SC2016
3227
adb shell 'while [[ "$(getprop sys.boot_completed)" != "1" ]]; do sleep 1; done;'
3328

3429
adb shell "echo 1 > /proc/sys/net/ipv4/ip_forward"

0 commit comments

Comments
 (0)