From b56e965296b4c0331e72cb151cc0d347cee50953 Mon Sep 17 00:00:00 2001 From: Alex Nikulkov Date: Thu, 23 Feb 2023 16:24:09 -0800 Subject: [PATCH] sleep between sdk calls in CircleCI test setup (#715) Summary: Pull Request resolved: https://github.com/facebookresearch/ReAgent/pull/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 --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5c33bdeb..20b90be4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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