From 2df8a224ea97e9f02aeab05af4ea2ee493277824 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Mon, 13 Feb 2017 10:14:29 +0100 Subject: [PATCH] Fixes Hazelcast example e2e test --- test/e2e/examples.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/examples.go b/test/e2e/examples.go index 66a8aab305d..6c0d4303588 100644 --- a/test/e2e/examples.go +++ b/test/e2e/examples.go @@ -544,12 +544,12 @@ var _ = framework.KubeDescribe("[Feature:Example]", func() { return filepath.Join(framework.TestContext.RepoRoot, "examples/storage/hazelcast", file) } serviceYaml := mkpath("hazelcast-service.yaml") - controllerYaml := mkpath("hazelcast-controller.yaml") + deploymentYaml := mkpath("hazelcast-deployment.yaml") nsFlag := fmt.Sprintf("--namespace=%v", ns) By("starting hazelcast") framework.RunKubectlOrDie("create", "-f", serviceYaml, nsFlag) - framework.RunKubectlOrDie("create", "-f", controllerYaml, nsFlag) + framework.RunKubectlOrDie("create", "-f", deploymentYaml, nsFlag) label := labels.SelectorFromSet(labels.Set(map[string]string{"name": "hazelcast"})) err := testutils.WaitForPodsWithLabelRunning(c, ns, label) Expect(err).NotTo(HaveOccurred())