mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-18 07:31:20 +00:00
Extend abci-cli to allow integration tests
This commit adds the basic test command 'abci-cli test' that will allow developers of server for their own language to continuously test their implementation.
This commit is contained in:
committed by
Krzysztof Jurewicz
parent
48413b4839
commit
e99e6ea0c7
@ -48,7 +48,6 @@ func (cli *grpcClient) OnStart() error {
|
||||
return err
|
||||
}
|
||||
RETRY_LOOP:
|
||||
|
||||
for {
|
||||
conn, err := grpc.Dial(cli.addr, grpc.WithInsecure(), grpc.WithDialer(dialerFunc))
|
||||
if err != nil {
|
||||
@ -83,8 +82,8 @@ func (cli *grpcClient) OnStop() {
|
||||
cli.mtx.Lock()
|
||||
defer cli.mtx.Unlock()
|
||||
// TODO: how to close conn? its not a net.Conn and grpc doesn't expose a Close()
|
||||
/*if cli.conn != nil {
|
||||
cli.conn.Close()
|
||||
/*if cli.client.conn != nil {
|
||||
cli.client.conn.Close()
|
||||
}*/
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user