Yicheng Qin f2f2adc663 migrate/functional: always run tests on CoreOS image há 11 anos atrás
..
README.md f2f2adc663 migrate/functional: always run tests on CoreOS image há 11 anos atrás
member.go f2f2adc663 migrate/functional: always run tests on CoreOS image há 11 anos atrás
upgrade_test.go ec5a6e8beb migrate: support start desired version há 11 anos atrás

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