Skip to content

Commit e81065d

Browse files
committed
try adb reverse
1 parent 13ac4d1 commit e81065d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/e2e.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,11 @@ jobs:
119119
avd-name: Pixel_6
120120
force-avd-creation: false
121121
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none
122-
script: cd bitkit-e2e-tests && npm run e2e:android -- --mochaOpts.grep "Can start onboarding"
122+
script: |
123+
# adb port forwarding for regtest
124+
adb reverse tcp:60001 tcp:60001
125+
cd bitkit-e2e-tests
126+
npm run e2e:android -- --mochaOpts.grep "Can start onboarding"
123127
env:
124128
RECORD_VIDEO: true
125129

app/src/main/java/to/bitkit/env/Env.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ internal object Env {
164164
protocol = ElectrumProtocol.TCP,
165165
)
166166
val E2E = ElectrumServer(
167-
host = "10.0.2.2",
167+
host = "127.0.0.1",
168168
tcp = 60001,
169169
ssl = 60002,
170170
protocol = ElectrumProtocol.TCP,

0 commit comments

Comments
 (0)