Fix 2 remaining 'defer AfterTest' calls.

release-3.5
Piotr Tabor 2021-03-10 09:09:17 +01:00
parent 0c1e6d05e7
commit a47c18d30a
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ func TestDialCancel(t *testing.T) {
}
func TestDialTimeout(t *testing.T) {
defer testutil.AfterTest(t)
testutil.BeforeTest(t)
wantError := context.DeadlineExceeded

View File

@ -35,7 +35,7 @@ import (
// TestV3StorageQuotaApply tests the V3 server respects quotas during apply
func TestV3StorageQuotaApply(t *testing.T) {
testutil.AfterTest(t)
testutil.BeforeTest(t)
quotasize := int64(16 * os.Getpagesize())
clus := NewClusterV3(t, &ClusterConfig{Size: 2})