File tree 3 files changed +10
-4
lines changed
3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124
124
timeout-minutes : 10
125
125
run : |
126
126
while ! nc -z '127.0.0.1' 60001; do sleep 1; done
127
- while ! nc -z '127.0.0.1' 10009 ; do sleep 1; done
127
+ sudo bash -c " while [ ! -f docker/lnd/data/chain/bitcoin/regtest/admin.macaroon ] ; do sleep 1; done"
128
128
sudo chmod -R 777 docker/lnd
129
129
130
130
- name : Test attempt 1
@@ -173,9 +173,12 @@ jobs:
173
173
174
174
- name : Restart docker before last attempt
175
175
if : steps.test1.outcome != 'success' && steps.test2.outcome != 'success' && steps.test3.outcome != 'success'
176
+ timeout-minutes : 10
176
177
run : |
177
178
cd docker && docker compose down -t 60 && docker compose up --quiet-pull -d && cd ..
178
179
while ! nc -z '127.0.0.1' 60001; do sleep 1; done
180
+ sudo bash -c "while [ ! -f docker/lnd/data/chain/bitcoin/regtest/admin.macaroon ]; do sleep 1; done"
181
+ sudo chmod -R 777 docker/lnd
179
182
180
183
- name : Test attempt 4
181
184
if : steps.test1.outcome != 'success' && steps.test2.outcome != 'success' && steps.test3.outcome != 'success'
Original file line number Diff line number Diff line change 61
61
echo ' npmAuthToken: "${{ secrets.NPMJS_READ_RN_PUBKY }}"' >> .yarnrc.yml
62
62
63
63
- name : Yarn Install
64
- run : yarn --no-audit --prefer-offline || yarn --no-audit --prefer-offline || yarn
64
+ run : yarn || yarn
65
65
env :
66
66
HUSKY : 0
67
67
91
91
- name : Restart docker before last attempt
92
92
if : steps.test1.outcome != 'success' && steps.test2.outcome != 'success' && steps.test3.outcome != 'success'
93
93
run : |
94
- cd docker && docker compose down -t 60 && docker compose up --force-recreate --quiet-pull -d && cd ..
94
+ cd docker
95
+ docker compose down -t 60
96
+ rm -rf lnd
97
+ docker compose up --force-recreate --quiet-pull -d
95
98
while ! nc -z '127.0.0.1' 60001; do sleep 1; done
96
99
97
100
- name : Test attempt 4
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ d('Transfer', () => {
276
276
// TODO: mine single blocks and check updated transfer time
277
277
278
278
// Sometimes the channel is only opened after restart
279
- await device . launchApp ( ) ;
279
+ await launchAndWait ( ) ;
280
280
281
281
// wait for channel to be opened
282
282
await waitForActiveChannel ( lnd , ldkNodeId ) ;
You can’t perform that action at this time.
0 commit comments