mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Add v1.solo migration fixture.
This commit is contained in:
parent
6b5d6ecd8b
commit
35d9719707
@ -3,13 +3,13 @@ README
|
||||
The scripts in this directory should be run from the project root:
|
||||
|
||||
$ cd $GOPATH/src/github.com/coreos/etcd
|
||||
$ tests/fixtures/v1/complete.1.sh
|
||||
$ tests/fixtures/v1/run.1.sh
|
||||
|
||||
Scripts with numbers should be run in separate terminal windows (in order):
|
||||
|
||||
$ tests/fixtures/v1/complete.1.sh
|
||||
$ tests/fixtures/v1/complete.2.sh
|
||||
$ tests/fixtures/v1/complete.3.sh
|
||||
$ tests/fixtures/v1/complete.4.sh
|
||||
$ tests/fixtures/v1/run.1.sh
|
||||
$ tests/fixtures/v1/run.2.sh
|
||||
$ tests/fixtures/v1/run.3.sh
|
||||
$ tests/fixtures/v1/run.4.sh
|
||||
|
||||
The resulting server state data can be found in tmp/node*.
|
0
tests/fixtures/v1/run.1.sh → tests/fixtures/v1.cluster/run.1.sh
vendored
Normal file → Executable file
0
tests/fixtures/v1/run.1.sh → tests/fixtures/v1.cluster/run.1.sh
vendored
Normal file → Executable file
0
tests/fixtures/v1/run.2.sh → tests/fixtures/v1.cluster/run.2.sh
vendored
Normal file → Executable file
0
tests/fixtures/v1/run.2.sh → tests/fixtures/v1.cluster/run.2.sh
vendored
Normal file → Executable file
0
tests/fixtures/v1/run.3.sh → tests/fixtures/v1.cluster/run.3.sh
vendored
Normal file → Executable file
0
tests/fixtures/v1/run.3.sh → tests/fixtures/v1.cluster/run.3.sh
vendored
Normal file → Executable file
0
tests/fixtures/v1/run.4.sh → tests/fixtures/v1.cluster/run.4.sh
vendored
Normal file → Executable file
0
tests/fixtures/v1/run.4.sh → tests/fixtures/v1.cluster/run.4.sh
vendored
Normal file → Executable file
13
tests/fixtures/v1.solo/README
vendored
Normal file
13
tests/fixtures/v1.solo/README
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
README
|
||||
|
||||
The scripts in this directory should be run from the project root:
|
||||
|
||||
$ cd $GOPATH/src/github.com/coreos/etcd
|
||||
$ tests/fixtures/v1.solo/run.1.sh
|
||||
|
||||
Scripts with numbers should be run in separate terminal windows (in order):
|
||||
|
||||
$ tests/fixtures/v1/run.1.sh
|
||||
$ tests/fixtures/v1/run.2.sh
|
||||
|
||||
The resulting server state data can be found in tmp/node0.
|
1
tests/fixtures/v1.solo/node0/conf
vendored
Normal file
1
tests/fixtures/v1.solo/node0/conf
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"commitIndex":1,"peers":[]}
|
18
tests/fixtures/v1.solo/node0/info
vendored
Normal file
18
tests/fixtures/v1.solo/node0/info
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "node0",
|
||||
"raftURL": "http://127.0.0.1:7001",
|
||||
"etcdURL": "http://127.0.0.1:4001",
|
||||
"webURL": "",
|
||||
"raftListenHost": "127.0.0.1:7001",
|
||||
"etcdListenHost": "127.0.0.1:4001",
|
||||
"raftTLS": {
|
||||
"CertFile": "",
|
||||
"KeyFile": "",
|
||||
"CAFile": ""
|
||||
},
|
||||
"etcdTLS": {
|
||||
"CertFile": "",
|
||||
"KeyFile": "",
|
||||
"CAFile": ""
|
||||
}
|
||||
}
|
BIN
tests/fixtures/v1.solo/node0/log
vendored
Normal file
BIN
tests/fixtures/v1.solo/node0/log
vendored
Normal file
Binary file not shown.
4
tests/fixtures/v1.solo/run.1.sh
vendored
Executable file
4
tests/fixtures/v1.solo/run.1.sh
vendored
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
./build
|
||||
./etcd -d tmp/node0 -n node0
|
3
tests/fixtures/v1.solo/run.2.sh
vendored
Executable file
3
tests/fixtures/v1.solo/run.2.sh
vendored
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
curl -L http://127.0.0.1:4001/v1/keys/message -d value="Hello world"
|
Loading…
x
Reference in New Issue
Block a user