etcd/migrate/functional
Yicheng Qin 136e0b6e26 migrate/functional: add Upgrade TLS V1 cluster test 2015-02-04 21:49:42 -08:00
..
fixtures migrate/functional: add Upgrade TLS V1 cluster test 2015-02-04 21:49:42 -08:00
README.md migrate/functional: always run tests on CoreOS image 2015-02-03 10:59:43 -08:00
member.go migrate/functional: add Upgrade TLS V1 cluster test 2015-02-04 21:49:42 -08:00
upgrade_test.go migrate/functional: add Upgrade TLS V1 cluster test 2015-02-04 21:49:42 -08:00

README.md

etcd migration functional tests

This functional test suite deploys a etcd cluster using processes, and asserts etcd is functioning properly.

Dependencies

The test suite can only be run in CoreOS system. It's recommended to run this in a virtual machine environment on CoreOS (e.g. using coreos-vagrant). The only dependency for the tests not provided on the CoreOS image is go.

Usage

Set environment variables point to the respective binaries that are used to drive the actual tests:

$ export ETCD_V1_BIN=/path/to/v1_etcd
$ export ETCD_V2_BIN=/path/to/v2_etcd
$ export ETCDCTL_BIN=/path/to/etcdctl

Then the tests can be run:

$ go test github.com/coreos/etcd/migrate/functional