Skip to content

Commit

Permalink
sleep between sdk calls in CircleCI test setup (#715)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #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
  • Loading branch information
Alex Nikulkov authored and facebook-github-bot committed Feb 24, 2023
1 parent e4658f9 commit b56e965
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,15 @@ commands:
sudo apt-get install zip
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sleep 5
sdk version
sleep 5
sdk install java 8.0.292.hs-adpt
sleep 5
sdk install scala
sleep 5
sdk install maven
sleep 5
sdk install spark 3.1.1
- run:
name: Build preprocessing package
Expand Down

0 comments on commit b56e965

Please sign in to comment.