Skip to content

Commit

Permalink
Update machinepool_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
brianlieberman authored Jun 22, 2022
1 parent 2a6e944 commit 9afbebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure/scope/machinepool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func TestMachinePoolScope_SetBootstrapConditions(t *testing.T) {
g.Expect(conditions.IsFalse(amp, infrav1.BootstrapSucceededCondition))
g.Expect(conditions.GetReason(amp, infrav1.BootstrapSucceededCondition)).To(Equal(infrav1.BootstrapInProgressReason))
severity := conditions.GetSeverity(amp, infrav1.BootstrapSucceededCondition)
g.Expect(severity).ToNot(BeNil())
g.Expect(severity).NotTo(BeNil())
g.Expect(*severity).To(Equal(clusterv1.ConditionSeverityInfo))
},
},
Expand All @@ -180,7 +180,7 @@ func TestMachinePoolScope_SetBootstrapConditions(t *testing.T) {
g.Expect(conditions.IsFalse(amp, infrav1.BootstrapSucceededCondition))
g.Expect(conditions.GetReason(amp, infrav1.BootstrapSucceededCondition)).To(Equal(infrav1.BootstrapFailedReason))
severity := conditions.GetSeverity(amp, infrav1.BootstrapSucceededCondition)
g.Expect(severity).ToNot(BeNil())
g.Expect(severity).NotTo(BeNil())
g.Expect(*severity).To(Equal(clusterv1.ConditionSeverityError))
},
},
Expand Down

0 comments on commit 9afbebe

Please sign in to comment.