diff --git a/.github/workflows/mysql-nightly-e2e.yml b/.github/workflows/mysql-nightly-e2e.yml index b109b4d5e07b..9e98bafe347c 100644 --- a/.github/workflows/mysql-nightly-e2e.yml +++ b/.github/workflows/mysql-nightly-e2e.yml @@ -88,21 +88,14 @@ jobs: --project=DataAssetRulesEnabled \ --project=DataAssetRulesDisabled - elif [ "${{ matrix.shardIndex }}" -eq "6" ]; then - echo "🔹 Running stateful Playwright tests serially on shard 6" - npx playwright test \ - --project=stateful \ - --workers=1 - else - # Shards 2-5 handle chromium tests (4 shards total) + # Shards 2-6 handle chromium tests (5 shards total) CHROMIUM_SHARD=$(( ${{ matrix.shardIndex }} - 1 )) - echo "🔹 Running all tests (excluding DataAssetRules/stateful) on chromium shard ${CHROMIUM_SHARD}/4" + echo "🔹 Running all tests (excluding DataAssetRules) on chromium shard ${CHROMIUM_SHARD}/5" npx playwright test \ --project=chromium \ --grep-invert @dataAssetRules \ - --shard=${CHROMIUM_SHARD}/4 \ - --workers=50% + --shard=${CHROMIUM_SHARD}/5 fi env: diff --git a/.github/workflows/postgresql-nightly-e2e.yml b/.github/workflows/postgresql-nightly-e2e.yml index aa641fe8baf7..b23659c54130 100644 --- a/.github/workflows/postgresql-nightly-e2e.yml +++ b/.github/workflows/postgresql-nightly-e2e.yml @@ -88,21 +88,14 @@ jobs: --project=DataAssetRulesEnabled \ --project=DataAssetRulesDisabled - elif [ "${{ matrix.shardIndex }}" -eq "6" ]; then - echo "🔹 Running stateful Playwright tests serially on shard 6" - npx playwright test \ - --project=stateful \ - --workers=1 - else - # Shards 2-5 handle chromium tests (4 shards total) + # Shards 2-5 handle chromium tests (5 shards total) CHROMIUM_SHARD=$(( ${{ matrix.shardIndex }} - 1 )) - echo "🔹 Running all tests (excluding DataAssetRules/stateful) on chromium shard ${CHROMIUM_SHARD}/4" + echo "🔹 Running all tests (excluding DataAssetRules) on chromium shard ${CHROMIUM_SHARD}/5" npx playwright test \ --project=chromium \ --grep-invert @dataAssetRules \ - --shard=${CHROMIUM_SHARD}/4 \ - --workers=50% + --shard=${CHROMIUM_SHARD}/5 fi env: