From a372ddf543fa07f22c58ca7b8484dc06650e3e06 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Wed, 9 Aug 2023 10:03:09 -0700 Subject: [PATCH 1/2] Set max CI workers to 2 Signed-off-by: Simeon Widdis --- .../dashboards-observability-test-and-build-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dashboards-observability-test-and-build-workflow.yml b/.github/workflows/dashboards-observability-test-and-build-workflow.yml index 5f04b6a1d..6c6b8637f 100644 --- a/.github/workflows/dashboards-observability-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-observability-test-and-build-workflow.yml @@ -60,7 +60,7 @@ jobs: - name: Test all dashboards-observability modules run: | cd OpenSearch-Dashboards/plugins/dashboards-observability - yarn test --coverage + yarn test --coverage --maxWorkers=2 - name: Upload coverage if: ${{ matrix.os == 'ubuntu-latest' }} From 7cbebcb29b6fc8659f5b3685c552d91fdbcf1881 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Wed, 9 Aug 2023 11:01:55 -0700 Subject: [PATCH 2/2] Try setting to 100% of workers Signed-off-by: Simeon Widdis --- .../dashboards-observability-test-and-build-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dashboards-observability-test-and-build-workflow.yml b/.github/workflows/dashboards-observability-test-and-build-workflow.yml index 6c6b8637f..064f949ce 100644 --- a/.github/workflows/dashboards-observability-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-observability-test-and-build-workflow.yml @@ -60,7 +60,7 @@ jobs: - name: Test all dashboards-observability modules run: | cd OpenSearch-Dashboards/plugins/dashboards-observability - yarn test --coverage --maxWorkers=2 + yarn test --coverage --maxWorkers=100% - name: Upload coverage if: ${{ matrix.os == 'ubuntu-latest' }}