Commit 51ee2b1f authored by Bin Lu's avatar Bin Lu

Add an environment variable for bazel-test-integration on Arm

Signed-off-by: 's avatarBin Lu <bin.lu@arm.com>
parent e9b285af
......@@ -66,6 +66,10 @@ func getAvailablePort() (int, error) {
// startEtcd executes an etcd instance. The returned function will signal the
// etcd process and wait for it to exit.
func startEtcd() (func(), error) {
if runtime.GOARCH == "arm64" {
os.Setenv("ETCD_UNSUPPORTED_ARCH", "arm64")
}
etcdURL = env.GetEnvAsStringOrFallback("KUBE_INTEGRATION_ETCD_URL", "http://127.0.0.1:2379")
conn, err := net.Dial("tcp", strings.TrimPrefix(etcdURL, "http://"))
if err == nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment