mirror of https://github.com/etcd-io/dbtester.git
agent: update zookeeper binary path
This commit is contained in:
parent
9f6571f556
commit
adfa194111
|
|
@ -324,8 +324,8 @@ func (t *transporterServer) Transfer(ctx context.Context, r *Request) (*Response
|
|||
}
|
||||
t.logfile = f
|
||||
|
||||
// this changes for different releases
|
||||
flagString := `-cp zookeeper-3.4.8.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-log4j12-1.6.1.jar:lib/log4j-1.2.16.jar:conf org.apache.zookeeper.server.quorum.QuorumPeerMain`
|
||||
// TODO: change for different releases
|
||||
flagString := `-cp zookeeper-3.4.9.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-log4j12-1.6.1.jar:lib/log4j-1.2.16.jar:conf org.apache.zookeeper.server.quorum.QuorumPeerMain`
|
||||
args := []string{shell, "-c", javaBinaryPath + " " + flagString + " " + configFilePath}
|
||||
|
||||
cmd := exec.Command(args[0], args[1:]...)
|
||||
|
|
|
|||
Loading…
Reference in New Issue