mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-18 07:31:20 +00:00
rpc: subscribe on reconnection (#689)
* rpc: subscribe on reconnection * rpc: fix unit tests
This commit is contained in:
committed by
Zach Ramsay
parent
b61f5482d4
commit
ce36a0111a
@ -186,6 +186,8 @@ func callWgDoneOnResult(t *testing.T, c *WSClient, wg *sync.WaitGroup) {
|
||||
if err != nil {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
}
|
||||
case <-c.ReconnectCh:
|
||||
t.Log("Reconnected")
|
||||
case <-c.Quit:
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user