This commit will help us to run the e2e tests in an enviroment without e2e source code more convenient. Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Add the bin-dir option to the command line, so the e2e tests can run with an exist binary. For example(run the command under e2e directory): go test -v -timeout 10m -bin-dir /usr/bin -cpu 1,2,4 Signed-off-by: Yiqiao Pu <ypu@redhat.com>
gexpect.Interact leaks. This adds ReadLine method to wait for the leaky goroutine to accept an EOF. Fixes https://github.com/coreos/etcd/issues/4258. Reference: https://github.com/coreos/etcd/pull/4261#issuecomment-174198945.