diff --git a/test/integration/framework/etcd.go b/test/integration/framework/etcd.go index 3033a68efde..983c512f990 100644 --- a/test/integration/framework/etcd.go +++ b/test/integration/framework/etcd.go @@ -23,7 +23,6 @@ import ( "net" "os" "os/exec" - "path/filepath" "runtime" "strings" "time" @@ -47,12 +46,6 @@ You can use 'hack/install-etcd.sh' to install a copy in third_party/. // getEtcdPath returns a path to an etcd executable. func getEtcdPath() (string, error) { - bazelPath := filepath.Join(os.Getenv("RUNFILES_DIR"), fmt.Sprintf("com_coreos_etcd_%s", runtime.GOARCH), "etcd") - - p, err := exec.LookPath(bazelPath) - if err == nil { - return p, nil - } return exec.LookPath("etcd") }