*: remove never-unused vars, minor lint fix

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyu-Ho Lee
2017-03-06 14:08:46 -08:00
parent bd6e6c11f8
commit 3d75395875
18 changed files with 107 additions and 59 deletions

View File

@@ -301,6 +301,7 @@ func TestNodeProposeAddDuplicateNode(t *testing.T) {
n.Campaign(context.TODO())
rdyEntries := make([]raftpb.Entry, 0)
ticker := time.NewTicker(time.Millisecond * 100)
defer ticker.Stop()
done := make(chan struct{})
stop := make(chan struct{})
applyConfChan := make(chan struct{})