Skip to content

Commit fe817c5

Browse files
authored
add retry for npm/yarn install in benchmark runall script (#6191)
1 parent f2bccff commit fe817c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/sirun/runall.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ fi
2727

2828
(
2929
cd ../../ &&
30-
npm install --global yarn \
31-
&& yarn install --ignore-engines \
30+
npm install --global yarn || (sleep 60 && npm install --global yarn) \
31+
&& yarn install --ignore-engines || (sleep 60 && yarn install --ignore-engines) \
3232
&& PLUGINS="bluebird|q|graphql|express" yarn services
3333
)
3434

0 commit comments

Comments
 (0)