diff --git a/client/v3/client_test.go b/client/v3/client_test.go
index <HASH>..<HASH> 100644
--- a/client/v3/client_test.go
+++ b/client/v3/client_test.go
@@ -80,7 +80,7 @@ func TestDialCancel(t *testing.T) {
 }
 
 func TestDialTimeout(t *testing.T) {
-	defer testutil.AfterTest(t)
+	testutil.BeforeTest(t)
 
 	wantError := context.DeadlineExceeded
 
diff --git a/tests/integration/v3_alarm_test.go b/tests/integration/v3_alarm_test.go
index <HASH>..<HASH> 100644
--- a/tests/integration/v3_alarm_test.go
+++ b/tests/integration/v3_alarm_test.go
@@ -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})
Fix 2 remaining 'defer AfterTest' calls.