mirror of
https://github.com/stretchr/testify.git
synced 2025-05-31 11:42:44 +00:00
Change how tearDownAllSuite is run to aviod deadlock when running with failfast
This commit is contained in:
parent
097ec799df
commit
cd58006fe6
@ -160,7 +160,6 @@ func Run(t *testing.T, suite TestingSuite) {
|
||||
}
|
||||
tests = append(tests, test)
|
||||
}
|
||||
|
||||
if suiteSetupDone {
|
||||
defer func() {
|
||||
if tearDownAllSuite, ok := suite.(TearDownAllSuite); ok {
|
||||
|
Loading…
x
Reference in New Issue
Block a user