From 60205eeca889fdd8501134b9d5aac11251c6d748 Mon Sep 17 00:00:00 2001 From: Stefan Budeanu Date: Mon, 7 Mar 2022 18:42:51 -0500 Subject: [PATCH] Fix test --- test/fixtures/hello-cloud/unmanaged-pod.yml | 6 ------ test/integration/restart_task_test.rb | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/test/fixtures/hello-cloud/unmanaged-pod.yml b/test/fixtures/hello-cloud/unmanaged-pod.yml index aae1251c1..8ea1dfe9e 100644 --- a/test/fixtures/hello-cloud/unmanaged-pod.yml +++ b/test/fixtures/hello-cloud/unmanaged-pod.yml @@ -16,9 +16,3 @@ spec: image: busybox imagePullPolicy: IfNotPresent command: ["sh", "-c", "echo 'Hello from the command runner!' && test 1 -eq 1"] - env: - - name: CONFIG - valueFrom: - configMapKeyRef: - name: hello-cloud-configmap-data - key: datapoint2 diff --git a/test/integration/restart_task_test.rb b/test/integration/restart_task_test.rb index 81e152fb6..5894a5597 100644 --- a/test/integration/restart_task_test.rb +++ b/test/integration/restart_task_test.rb @@ -36,7 +36,7 @@ def test_restart_by_annotation end def test_restart_statefulset_on_delete_restarts_child_pods - result = deploy_fixtures("hello-cloud", subset: ["configmap-data.yml", "unmanaged-pod.yml", "stateful_set.yml"]) do |fixtures| + result = deploy_fixtures("hello-cloud", subset: ["unmanaged-pod.yml", "stateful_set.yml"]) do |fixtures| statefulset = fixtures["stateful_set.yml"]["StatefulSet"].first statefulset["spec"]["updateStrategy"] = { "type" => "OnDelete" } end