From 1a7cf6c91a6895e757a5b857f15bf3f54df88e13 Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Sun, 7 Mar 2021 14:09:19 -0800 Subject: [PATCH] remove bazel logic from test/integration/framework --- test/integration/framework/etcd.go | 7 ------- 1 file changed, 7 deletions(-) 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") }