mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-13 21:31:23 +00:00
fixes from Jae's review
1. remove pointer 2. add Quit() method to Service interface
This commit is contained in:
@ -132,7 +132,7 @@ func TestWSClientReconnectFailure(t *testing.T) {
|
||||
for {
|
||||
select {
|
||||
case <-c.ResponsesCh:
|
||||
case <-c.Quit:
|
||||
case <-c.Quit():
|
||||
return
|
||||
}
|
||||
}
|
||||
@ -217,7 +217,7 @@ func callWgDoneOnResult(t *testing.T, c *WSClient, wg *sync.WaitGroup) {
|
||||
if resp.Result != nil {
|
||||
wg.Done()
|
||||
}
|
||||
case <-c.Quit:
|
||||
case <-c.Quit():
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user