From 1e249be99d17cd4b6604f3dedfb22b215b73668d Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Thu, 23 Oct 2014 16:13:46 -0700 Subject: [PATCH] Start running e2e go tests. Disable broken test. --- cmd/e2e/e2e.go | 2 +- hack/e2e-suite/goe2e.sh | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100755 hack/e2e-suite/goe2e.sh diff --git a/cmd/e2e/e2e.go b/cmd/e2e/e2e.go index 89822fede58..56a58059375 100644 --- a/cmd/e2e/e2e.go +++ b/cmd/e2e/e2e.go @@ -159,7 +159,7 @@ func main() { c := loadClientOrDie() tests := []func(c *client.Client) bool{ - TestPodUpdate, + // TODO(brendandburns): fix this test and re-add it: TestPodUpdate, } passed := true diff --git a/hack/e2e-suite/goe2e.sh b/hack/e2e-suite/goe2e.sh new file mode 100755 index 00000000000..2890495d343 --- /dev/null +++ b/hack/e2e-suite/goe2e.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +# Copyright 2014 Google Inc. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../.. +source "${KUBE_ROOT}/cluster/kube-env.sh" +source "${KUBE_ROOT}/cluster/$KUBERNETES_PROVIDER/util.sh" + +detect-master > /dev/null +${KUBE_ROOT}/_output/go/bin/e2e -host="https://${KUBE_MASTER_IP-}"