Skip to content

Commit

Permalink
Revert "Attempt to reduce test parallelism for AWS Python tests (pulu…
Browse files Browse the repository at this point in the history
…mi#1084)"

This reverts commit b2da73d.
  • Loading branch information
Lee-Ming Zen committed Oct 1, 2021
1 parent a024097 commit c4725e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ jobs:
run: make ensure
- name: Running ${{ matrix.clouds }}${{ matrix.languages }} Tests
run: make specific_test_set TestSet=${{ matrix.clouds }}${{ matrix.languages
}} Parallelism=${{ matrix.parallelism }}
}}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -297,16 +297,6 @@ jobs:
- ubuntu-latest
python-version:
- "3.7"
parallelism:
- 40
exclude:
- clouds: Aws
languages: Py
parallelism: 40
include:
- clouds: Aws
languages: Py
parallelism: 20
providers-output-values:
name: providers-output-values
env:
Expand Down Expand Up @@ -390,7 +380,7 @@ jobs:
run: make ensure
- name: Running ${{ matrix.clouds }}${{ matrix.languages }} Tests
run: make specific_test_set TestSet=${{ matrix.clouds }}${{ matrix.languages
}} Parallelism=${{ matrix.parallelism }}
}}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -421,16 +411,6 @@ jobs:
- ubuntu-latest
python-version:
- "3.7"
parallelism:
- 40
exclude:
- clouds: Aws
languages: Py
parallelism: 40
include:
- clouds: Aws
languages: Py
parallelism: 20
python-unit-testing:
name: Running ${{ matrix.source-dir }} test
runs-on: ${{ matrix.platform }}
Expand Down
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ specific_test_set:
echo "running $(TestSet) Acceptance Tests"
cd misc/test && go test . --timeout 4h -v -count=1 -short -parallel 40 --tags=all --run=TestAcc$(TestSet)

Parallelism ?= 40

specific_tag_set:
echo "running $(TagSet)$(TestSet) Acceptance Tests"
cd misc/test && go test . --timeout 4h -v -count=1 -short -parallel $(Parallelism) --tags=$(TagSet) --run=TestAcc$(TagSet)$(TestSet)
cd misc/test && go test . --timeout 4h -v -count=1 -short -parallel 40 --tags=$(TagSet) --run=TestAcc$(TagSet)$(TestSet)

performance_test_set:
cd misc/test && go test . --timeout 4h -count=1 -short -parallel 40 --tags=Performance
Expand Down

0 comments on commit c4725e6

Please sign in to comment.