Commit 503c59b9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 56c74b76
......@@ -312,7 +312,7 @@ func (n *NEOGoSrv) Close() (err error) {
}
if n.Sback != nil {
__ := n.Sback.Close() // XXX should be in Storage?
__ := n.Sback.Close()
err = xerr.First(err, __)
}
......@@ -394,7 +394,7 @@ func withNEOSrv(t *testing.T, f func(t *testing.T, nsrv NEOSrv), optv ...tOption
t.Helper()
X := xtesting.FatalIf(t)
work, err := ioutil.TempDir("", "neo"); X(err)
//defer os.RemoveAll(work)
defer os.RemoveAll(work)
f(work)
}
......@@ -512,7 +512,7 @@ func withNEO(t *testing.T, f func(t *testing.T, nsrv NEOSrv, ndrv *Client), optv
// - verifies that encoding autodetection actually works when
// NEO/go client connects NEO/py server.
//
// For example if NEO/py server implments only M encoding,
// For example if NEO/py server implements only M encoding,
// testing with N,M verifies retry after handshaking with
// enc=N.
encTryOrder0 := *tneonet.DialEncTryOrder
......@@ -547,7 +547,7 @@ func withNEO(t *testing.T, f func(t *testing.T, nsrv NEOSrv, ndrv *Client), optv
if noautodetect && len(encv) > 1 && encv[0] == srvEnc {
// skip - the other case when encv[0] != srvEnc will
// both test autodetection and exchanve via srvEnc.
// both test autodetection and exchange via srvEnc.
t.Skip("skip: does not excercise client redial")
}
......@@ -581,7 +581,7 @@ func withNEO(t *testing.T, f func(t *testing.T, nsrv NEOSrv, ndrv *Client), optv
}
// XXX connect with wrong clusterName -> rejected
// TODO connect with wrong clusterName -> rejected
func TestEmptyDB(t *testing.T) {
withNEO(t, func(t *testing.T, nsrv NEOSrv, n *Client) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment