Commit 088502fd authored by Kirill Smelkov's avatar Kirill Smelkov

fixup! client_test: Keep NEO srv logs if test fails

parent 91d65a96
...@@ -426,7 +426,7 @@ func withNEOSrv(t *testing.T, f func(t *testing.T, nsrv NEOSrv), optv ...tOption ...@@ -426,7 +426,7 @@ func withNEOSrv(t *testing.T, f func(t *testing.T, nsrv NEOSrv), optv ...tOption
work, err := ioutil.TempDir("", "neo"); X(err) work, err := ioutil.TempDir("", "neo"); X(err)
defer func() { defer func() {
if t.Failed() { if t.Failed() {
t.Logf("NEO server log files reside in %s", work) t.Logf("leaving NEO database and server log files in %s", work)
} else { } else {
os.RemoveAll(work) os.RemoveAll(work)
} }
......
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