File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ jobs:
4545 run : just lint
4646 - name : Run fast tests
4747 if : ${{ !cancelled() }}
48- run : just test-fast
48+ run : just test-fast -v2
4949 - name : Run tests
5050 if : ${{ !cancelled() }}
51- run : just test
51+ run : just test -v2
5252
5353 test-postgres :
5454 runs-on : ubuntu-latest
8282 pip install -e '.[dev,postgres]'
8383 pip install Django~=${{ matrix.django-version }}
8484 - name : Run tests
85- run : just test
85+ run : just test -v2
8686 env :
8787 DATABASE_URL : postgres://postgres:postgres@localhost/postgres
8888
@@ -117,7 +117,7 @@ jobs:
117117 pip install -e '.[dev,mysql]'
118118 pip install Django~=${{ matrix.django-version }}
119119 - name : Run tests
120- run : just test
120+ run : just test -v2
121121 env :
122122 DATABASE_URL : mysql://root:django@127.0.0.1/django
123123
Original file line number Diff line number Diff line change @@ -1317,9 +1317,11 @@ def setUp(self) -> None:
13171317
13181318 def tearDown (self ) -> None :
13191319 # Try n times to kill any remaining child processes
1320- for _ in range (10 ):
1320+ for n in range (20 ):
13211321 for process in self .processes :
13221322 if process .poll () is None :
1323+ if n >= 5 :
1324+ print ("Still waiting for process" , process .pid , process .args ) # noqa: T201
13231325 process .kill ()
13241326 process .wait (1 )
13251327
You can’t perform that action at this time.
0 commit comments