Commit a2088ea6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent bb725f9f
...@@ -207,7 +207,8 @@ func withNEOSrv(t *testing.T, f func(t *testing.T, nsrv NEOSrv), optv ...tOption ...@@ -207,7 +207,8 @@ func withNEOSrv(t *testing.T, f func(t *testing.T, nsrv NEOSrv), optv ...tOption
}() }()
if opt.Preload != "" { if opt.Preload != "" {
cmd := exec.Command("python", "-m", "neo.scripts.neomigrate", cmd := exec.Command("python", "-c",
"from neo.scripts.neomigrate import main; main()",
"-s", opt.Preload, "-s", opt.Preload,
"-d", npy.MasterAddr(), "-c", npy.ClusterName()) "-d", npy.MasterAddr(), "-c", npy.ClusterName())
cmd.Stdin = nil cmd.Stdin = nil
......
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