mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
functional/tester: run tests with embedded etcd
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
677894b4fa
commit
f34c5dc902
@ -1,5 +1,5 @@
|
|||||||
agent-configs:
|
agent-configs:
|
||||||
- etcd-exec: ./bin/etcd
|
- etcd-exec: embed
|
||||||
agent-addr: 127.0.0.1:19027
|
agent-addr: 127.0.0.1:19027
|
||||||
failpoint-http-addr: http://127.0.0.1:7381
|
failpoint-http-addr: http://127.0.0.1:7381
|
||||||
base-dir: /tmp/etcd-functional-1
|
base-dir: /tmp/etcd-functional-1
|
||||||
@ -50,7 +50,7 @@ agent-configs:
|
|||||||
peer-trusted-ca-path: ""
|
peer-trusted-ca-path: ""
|
||||||
snapshot-path: /tmp/etcd-functional-1.snapshot.db
|
snapshot-path: /tmp/etcd-functional-1.snapshot.db
|
||||||
|
|
||||||
- etcd-exec: ./bin/etcd
|
- etcd-exec: embed
|
||||||
agent-addr: 127.0.0.1:29027
|
agent-addr: 127.0.0.1:29027
|
||||||
failpoint-http-addr: http://127.0.0.1:7382
|
failpoint-http-addr: http://127.0.0.1:7382
|
||||||
base-dir: /tmp/etcd-functional-2
|
base-dir: /tmp/etcd-functional-2
|
||||||
@ -101,7 +101,7 @@ agent-configs:
|
|||||||
peer-trusted-ca-path: ""
|
peer-trusted-ca-path: ""
|
||||||
snapshot-path: /tmp/etcd-functional-2.snapshot.db
|
snapshot-path: /tmp/etcd-functional-2.snapshot.db
|
||||||
|
|
||||||
- etcd-exec: ./bin/etcd
|
- etcd-exec: embed
|
||||||
agent-addr: 127.0.0.1:39027
|
agent-addr: 127.0.0.1:39027
|
||||||
failpoint-http-addr: http://127.0.0.1:7383
|
failpoint-http-addr: http://127.0.0.1:7383
|
||||||
base-dir: /tmp/etcd-functional-3
|
base-dir: /tmp/etcd-functional-3
|
||||||
|
@ -28,7 +28,7 @@ func Test_read(t *testing.T) {
|
|||||||
exp := &Cluster{
|
exp := &Cluster{
|
||||||
Members: []*rpcpb.Member{
|
Members: []*rpcpb.Member{
|
||||||
{
|
{
|
||||||
EtcdExec: "./bin/etcd",
|
EtcdExec: "embed",
|
||||||
AgentAddr: "127.0.0.1:19027",
|
AgentAddr: "127.0.0.1:19027",
|
||||||
FailpointHTTPAddr: "http://127.0.0.1:7381",
|
FailpointHTTPAddr: "http://127.0.0.1:7381",
|
||||||
BaseDir: "/tmp/etcd-functional-1",
|
BaseDir: "/tmp/etcd-functional-1",
|
||||||
@ -81,7 +81,7 @@ func Test_read(t *testing.T) {
|
|||||||
SnapshotPath: "/tmp/etcd-functional-1.snapshot.db",
|
SnapshotPath: "/tmp/etcd-functional-1.snapshot.db",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
EtcdExec: "./bin/etcd",
|
EtcdExec: "embed",
|
||||||
AgentAddr: "127.0.0.1:29027",
|
AgentAddr: "127.0.0.1:29027",
|
||||||
FailpointHTTPAddr: "http://127.0.0.1:7382",
|
FailpointHTTPAddr: "http://127.0.0.1:7382",
|
||||||
BaseDir: "/tmp/etcd-functional-2",
|
BaseDir: "/tmp/etcd-functional-2",
|
||||||
@ -134,7 +134,7 @@ func Test_read(t *testing.T) {
|
|||||||
SnapshotPath: "/tmp/etcd-functional-2.snapshot.db",
|
SnapshotPath: "/tmp/etcd-functional-2.snapshot.db",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
EtcdExec: "./bin/etcd",
|
EtcdExec: "embed",
|
||||||
AgentAddr: "127.0.0.1:39027",
|
AgentAddr: "127.0.0.1:39027",
|
||||||
FailpointHTTPAddr: "http://127.0.0.1:7383",
|
FailpointHTTPAddr: "http://127.0.0.1:7383",
|
||||||
BaseDir: "/tmp/etcd-functional-3",
|
BaseDir: "/tmp/etcd-functional-3",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user