Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmb committed Mar 7, 2022
1 parent f04884d commit 60205ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions test/fixtures/hello-cloud/unmanaged-pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/integration/restart_task_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60205ee

Please sign in to comment.