Browse Source

etcd-tester: fix goword warnings

Anthony Romano 9 years ago
parent
commit
9feb3d0e51

+ 1 - 1
tools/functional-tester/etcd-tester/failure.go

@@ -39,7 +39,7 @@ type failure interface {
 	// Recover recovers the injected failure caused by the injection of the
 	// Recover recovers the injected failure caused by the injection of the
 	// given round and wait for the recovery of the testing cluster.
 	// given round and wait for the recovery of the testing cluster.
 	Recover(c *cluster, round int) error
 	Recover(c *cluster, round int) error
-	// return a description of the failure
+	// Desc returns a description of the failure
 	Desc() string
 	Desc() string
 }
 }
 
 

+ 0 - 2
tools/functional-tester/etcd-tester/stresser.go

@@ -161,8 +161,6 @@ type stresserV2 struct {
 	KeySuffixRange int
 	KeySuffixRange int
 
 
 	N int
 	N int
-	// TODO: not implemented
-	Interval time.Duration
 
 
 	mu      sync.Mutex
 	mu      sync.Mutex
 	failure int
 	failure int