Skip to content

Commit

Permalink
Minor change to the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Himanshu Pandey committed Feb 12, 2020
1 parent 6a69912 commit 0b0adeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha3/machinedeployment_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ func TestMachineDeploymentDefault(t *testing.T) {
g.Expect(md.Spec.Strategy.RollingUpdate).ToNot(BeNil())
g.Expect(md.Spec.Strategy.RollingUpdate.MaxSurge.IntValue()).To(Equal(1))
g.Expect(md.Spec.Strategy.RollingUpdate.MaxUnavailable.IntValue()).To(Equal(0))
g.Expect(md.Spec.Selector.MatchLabels).To(HaveKeyWithValue(clusterv1.ClusterLabelName, "test-md"))
g.Expect(md.Spec.Template.Labels).To(HaveKeyWithValue(clusterv1.ClusterLabelName, "test-md"))
g.Expect(md.Spec.Selector.MatchLabels).To(HaveKeyWithValue(ClusterLabelName, "test-md"))
g.Expect(md.Spec.Template.Labels).To(HaveKeyWithValue(ClusterLabelName, "test-md"))
}

func TestMachineDeploymentValidation(t *testing.T) {
Expand Down

0 comments on commit 0b0adeb

Please sign in to comment.