Skip to content

Commit b56e965

Browse files
Alex Nikulkovfacebook-github-bot
authored andcommitted
sleep between sdk calls in CircleCI test setup (facebookresearch#715)
Summary: Pull Request resolved: facebookresearch#715 CircleCI tets have been failing because of an infra error (https://app.circleci.com/pipelines/github/facebookresearch/ReAgent/2590/workflows/2c96e442-4fa9-48fb-a910-7f13c42eebc9/jobs/26711/parallel-runs/0/steps/0-105) I found the root cause in rate limiting: https://github.com/sdkman/sdkman-cli/issues?q=proxy+#issuecomment-1430703038 Sleeping in between `sdk` calls should reduce the probability of being throttled Differential Revision: D43556203 fbshipit-source-id: 517aff978ef1195c45914cbf39b83cc5316c1b0a
1 parent e4658f9 commit b56e965

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,15 @@ commands:
8989
sudo apt-get install zip
9090
curl -s "https://get.sdkman.io" | bash
9191
source "$HOME/.sdkman/bin/sdkman-init.sh"
92+
sleep 5
9293
sdk version
94+
sleep 5
9395
sdk install java 8.0.292.hs-adpt
96+
sleep 5
9497
sdk install scala
98+
sleep 5
9599
sdk install maven
100+
sleep 5
96101
sdk install spark 3.1.1
97102
- run:
98103
name: Build preprocessing package

0 commit comments

Comments
 (0)