Commit fb51b30d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 18c11a69
...@@ -215,7 +215,7 @@ func withNEO(t *testing.T, f func(t *testing.T, nsrv NEOSrv, ndrv *Client), optv ...@@ -215,7 +215,7 @@ func withNEO(t *testing.T, f func(t *testing.T, nsrv NEOSrv, ndrv *Client), optv
withNEOSrv(t, func(t *testing.T, nsrv NEOSrv) { withNEOSrv(t, func(t *testing.T, nsrv NEOSrv) {
t.Helper() t.Helper()
X := xtesting.FatalIf(t) X := xtesting.FatalIf(t)
ndrv, _, err := neoOpen(fmt.Sprintf("%s@%s", nsrv.ClusterName(), nsrv.MasterAddr()), ndrv, _, err := neoOpen(fmt.Sprintf("neo://%s@%s", nsrv.ClusterName(), nsrv.MasterAddr()),
&zodb.DriverOptions{ReadOnly: true}); X(err) &zodb.DriverOptions{ReadOnly: true}); X(err)
defer func() { defer func() {
err := ndrv.Close(); X(err) err := ndrv.Close(); X(err)
......
...@@ -40,6 +40,7 @@ def main(): ...@@ -40,6 +40,7 @@ def main():
defer(cluster.stop) defer(cluster.stop)
cluster.expectClusterRunning() cluster.expectClusterRunning()
print("I: runneo.py: Started master(s): %s" % cluster.master_nodes)
# dump information about ready cluster into readyfile # dump information about ready cluster into readyfile
with open("%s.tmp" % readyf, "w") as f: with open("%s.tmp" % readyf, "w") as f:
......
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