test: Enable and fix up some more tests
An unstable engine probably masked some of these issues.
This commit is contained in:
@@ -20,7 +20,7 @@ trap 'pkill -9 mgmt' EXIT
|
||||
"$MGMT" run --hostname h3 --tmp-prefix --no-pgp --seeds http://127.0.0.1:2379 --client-urls http://127.0.0.1:2383 --server-urls http://127.0.0.1:2384 empty &
|
||||
|
||||
# wait for everything to converge
|
||||
sleep 10
|
||||
sleep 30s
|
||||
|
||||
ETCDCTL_API=3 etcdctl --endpoints 127.0.0.1:2379 put /_mgmt/idealClusterSize 3
|
||||
|
||||
@@ -28,13 +28,13 @@ ETCDCTL_API=3 etcdctl --endpoints 127.0.0.1:2379 put /_mgmt/idealClusterSize 3
|
||||
"$MGMT" run --hostname h5 --tmp-prefix --no-pgp --seeds http://127.0.0.1:2379 --client-urls http://127.0.0.1:2387 --server-urls http://127.0.0.1:2388 empty &
|
||||
|
||||
# wait for everything to converge
|
||||
sleep 10
|
||||
sleep 30s
|
||||
|
||||
test "$(ETCDCTL_API=3 etcdctl --endpoints 127.0.0.1:2379 member list | wc -l)" -eq 3
|
||||
|
||||
ETCDCTL_API=3 etcdctl --endpoints 127.0.0.1:2381 put /_mgmt/idealClusterSize 5
|
||||
|
||||
# wait for everything to converge
|
||||
sleep 5
|
||||
sleep 30s
|
||||
|
||||
test "$(ETCDCTL_API=3 etcdctl --endpoints 127.0.0.1:2381 member list | wc -l)" -eq 5
|
||||
|
||||
Reference in New Issue
Block a user