From a790f6b643f7a4028d8e913ac7957b2332079b52 Mon Sep 17 00:00:00 2001 From: Ryan Liang Date: Fri, 15 Dec 2023 16:22:14 -0800 Subject: [PATCH] Enable multiple try for bootstrap Signed-off-by: Ryan Liang --- .github/workflows/cypress-e2e-reporting-test.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cypress-e2e-reporting-test.yml b/.github/workflows/cypress-e2e-reporting-test.yml index 4b632fa3..86351de5 100644 --- a/.github/workflows/cypress-e2e-reporting-test.yml +++ b/.github/workflows/cypress-e2e-reporting-test.yml @@ -116,10 +116,13 @@ jobs: working-directory: OpenSearch-Dashboards shell: bash - - name: Boodstrap Opensearch Dashboards - run: | - yarn osd bootstrap - working-directory: OpenSearch-Dashboards + - name: OpenSearch Dashboards Plugin Bootstrap + uses: nick-fields/retry@v1 + with: + timeout_minutes: 30 + max_attempts: 3 + command: yarn osd bootstrap + path: OpenSearch-Dashboards - name: Run Opensearch Dashboards with Dashboards Reporting Plugin Installed run: |