From 2ee2a96055daca37cf61fcb472c41399acb10bdd Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Mon, 16 Apr 2018 16:07:19 -0700 Subject: [PATCH] functional/tester: use binary for tests for now Signed-off-by: Gyuho Lee --- functional.yaml | 6 +++--- functional/tester/cluster_test.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/functional.yaml b/functional.yaml index 727c76967..e7552c29e 100644 --- a/functional.yaml +++ b/functional.yaml @@ -1,5 +1,5 @@ agent-configs: -- etcd-exec: embed +- etcd-exec: ./bin/etcd agent-addr: 127.0.0.1:19027 failpoint-http-addr: http://127.0.0.1:7381 base-dir: /tmp/etcd-functional-1 @@ -50,7 +50,7 @@ agent-configs: peer-trusted-ca-path: "" snapshot-path: /tmp/etcd-functional-1.snapshot.db -- etcd-exec: embed +- etcd-exec: ./bin/etcd agent-addr: 127.0.0.1:29027 failpoint-http-addr: http://127.0.0.1:7382 base-dir: /tmp/etcd-functional-2 @@ -101,7 +101,7 @@ agent-configs: peer-trusted-ca-path: "" snapshot-path: /tmp/etcd-functional-2.snapshot.db -- etcd-exec: embed +- etcd-exec: ./bin/etcd agent-addr: 127.0.0.1:39027 failpoint-http-addr: http://127.0.0.1:7383 base-dir: /tmp/etcd-functional-3 diff --git a/functional/tester/cluster_test.go b/functional/tester/cluster_test.go index c7d1a3b26..979a82b96 100644 --- a/functional/tester/cluster_test.go +++ b/functional/tester/cluster_test.go @@ -28,7 +28,7 @@ func Test_read(t *testing.T) { exp := &Cluster{ Members: []*rpcpb.Member{ { - EtcdExec: "embed", + EtcdExec: "./bin/etcd", AgentAddr: "127.0.0.1:19027", FailpointHTTPAddr: "http://127.0.0.1:7381", BaseDir: "/tmp/etcd-functional-1", @@ -81,7 +81,7 @@ func Test_read(t *testing.T) { SnapshotPath: "/tmp/etcd-functional-1.snapshot.db", }, { - EtcdExec: "embed", + EtcdExec: "./bin/etcd", AgentAddr: "127.0.0.1:29027", FailpointHTTPAddr: "http://127.0.0.1:7382", BaseDir: "/tmp/etcd-functional-2", @@ -134,7 +134,7 @@ func Test_read(t *testing.T) { SnapshotPath: "/tmp/etcd-functional-2.snapshot.db", }, { - EtcdExec: "embed", + EtcdExec: "./bin/etcd", AgentAddr: "127.0.0.1:39027", FailpointHTTPAddr: "http://127.0.0.1:7383", BaseDir: "/tmp/etcd-functional-3",