Skip to content

Commit

Permalink
sleep between sdk calls in CircleCI test setup
Browse files Browse the repository at this point in the history
Summary:
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: 40a7a97bd835c214597d36c6216a036cc2b244f8
  • Loading branch information
Alex Nikulkov authored and facebook-github-bot committed Feb 24, 2023
1 parent e4658f9 commit da9f294
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 da9f294

Please sign in to comment.