Commit a2088ea6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

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