Skip to content

Commit

Permalink
Patch resource even if error to resolve a test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ellistarn committed Jun 24, 2021
1 parent 7a095af commit 4ba52f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudprovider/aws/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ var _ = Describe("Allocation", func() {
})
It("should not schedule a pod with an invalid security group", func() {
pod := AttemptProvisioning(env.Client, provisioner,
test.PendingPod(test.PodOptions{NodeSelector: map[string]string{SubnetTagKeyLabel: "Invalid"}}),
test.PendingPod(test.PodOptions{NodeSelector: map[string]string{SecurityGroupTagKeyLabel: "Invalid"}}),
)
// Assertions
Expect(pod.Spec.NodeName).To(BeEmpty())
Expand Down

0 comments on commit 4ba52f5

Please sign in to comment.