mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Fix 2 remaining 'defer AfterTest' calls.
This commit is contained in:
parent
0c1e6d05e7
commit
a47c18d30a
@ -80,7 +80,7 @@ func TestDialCancel(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestDialTimeout(t *testing.T) {
|
func TestDialTimeout(t *testing.T) {
|
||||||
defer testutil.AfterTest(t)
|
testutil.BeforeTest(t)
|
||||||
|
|
||||||
wantError := context.DeadlineExceeded
|
wantError := context.DeadlineExceeded
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ import (
|
|||||||
|
|
||||||
// TestV3StorageQuotaApply tests the V3 server respects quotas during apply
|
// TestV3StorageQuotaApply tests the V3 server respects quotas during apply
|
||||||
func TestV3StorageQuotaApply(t *testing.T) {
|
func TestV3StorageQuotaApply(t *testing.T) {
|
||||||
testutil.AfterTest(t)
|
testutil.BeforeTest(t)
|
||||||
quotasize := int64(16 * os.Getpagesize())
|
quotasize := int64(16 * os.Getpagesize())
|
||||||
|
|
||||||
clus := NewClusterV3(t, &ClusterConfig{Size: 2})
|
clus := NewClusterV3(t, &ClusterConfig{Size: 2})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user