Skip to content

Commit

Permalink
🐛Fix flaky reach state image installing test (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
yrs147 authored May 8, 2024
1 parent a561e3c commit e6bccc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/hetznerbaremetalhost_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ var _ = Describe("HetznerBareMetalHostReconciler", func() {
testEnv.GetLogger().Info("reaches the state image installing. Get failed", "err", err)
return false
}
if host.Spec.Status.ProvisioningState == infrav1.StateImageInstalling {
if host.Spec.Status.ProvisioningState == infrav1.StateImageInstalling || host.Spec.Status.ProvisioningState == infrav1.StateProvisioned {
return true
}
testEnv.GetLogger().Info("reaches the state image installing. State",
Expand Down

0 comments on commit e6bccc2

Please sign in to comment.