Revision 2d510d2f272c7b96926477987ef7b7e9e3f5667c authored by Anton Kaliaev on 20 January 2020, 10:41:26 UTC, committed by GitHub on 20 January 2020, 10:41:26 UTC
* rpc: update urls to rpc website

* rpc: check blockMeta is not nil in Commit

Refs #4319
1 parent 9cbfe79
Raw File
utils_test.go
package privval

import (
	"testing"

	"github.com/pkg/errors"
	"github.com/stretchr/testify/assert"
)

func TestIsConnTimeoutForNonTimeoutErrors(t *testing.T) {
	assert.False(t, IsConnTimeout(errors.Wrap(ErrDialRetryMax, "max retries exceeded")))
	assert.False(t, IsConnTimeout(errors.New("completely irrelevant error")))
}
back to top