1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-30 05:56:54 -05:00

wait for test ready

This commit is contained in:
v2ray 2016-06-04 13:27:17 +02:00
parent 243e3ced89
commit 030fca10ba

View File

@ -6,6 +6,7 @@ import (
"os/exec"
"path/filepath"
"runtime"
"time"
_ "github.com/v2ray/v2ray-core/app/router/rules"
"github.com/v2ray/v2ray-core/common/log"
@ -81,6 +82,8 @@ func InitializeServer(configFile string) error {
return err
}
time.Sleep(time.Second)
runningServers = append(runningServers, proc)
return nil