Skip to content

Commit

Permalink
Rest Framework: Remove Parallel + Shuffle (#10696)
Browse files Browse the repository at this point in the history
* Rest Framework: Remove parallel + Shuffle

* Update docker/entrypoint-unit-tests-devDocker.sh

Co-authored-by: Charles Neill <[email protected]>

* Update docker/entrypoint-unit-tests.sh

Co-authored-by: Charles Neill <[email protected]>

---------

Co-authored-by: Charles Neill <[email protected]>
  • Loading branch information
Maffooch and cneill authored Aug 7, 2024
1 parent aec9450 commit 7b4a160
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docker/entrypoint-unit-tests-devDocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ EOF
echo "Unit Tests"
echo "------------------------------------------------------------"

python3 manage.py test unittests -v 3 --keepdb --no-input --failfast --shuffle --parallel --exclude-tag="non-parallel" || {
# Removing parallel and shuffle for now to maintain stability
python3 manage.py test unittests -v 3 --keepdb --no-input --exclude-tag="non-parallel" || {
exit 1;
}
python3 manage.py test unittests -v 3 --keepdb --no-input --failfast --shuffle --tag="non-parallel" || {
python3 manage.py test unittests -v 3 --keepdb --no-input --tag="non-parallel" || {
exit 1;
}

Expand Down
5 changes: 3 additions & 2 deletions docker/entrypoint-unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ python3 manage.py migrate
echo "Unit Tests"
echo "------------------------------------------------------------"

python3 manage.py test unittests -v 3 --keepdb --no-input --failfast --shuffle --parallel --exclude-tag="non-parallel" || {
# Removing parallel and shuffle for now to maintain stability
python3 manage.py test unittests -v 3 --keepdb --no-input --exclude-tag="non-parallel" || {
exit 1;
}
python3 manage.py test unittests -v 3 --keepdb --no-input --failfast --shuffle --tag="non-parallel" || {
python3 manage.py test unittests -v 3 --keepdb --no-input --tag="non-parallel" || {
exit 1;
}

0 comments on commit 7b4a160

Please sign in to comment.