@@ -38,6 +38,9 @@ func PartialMachineSetTest(oc *exutil.CLI, fixture string) {
38
38
err := oc .Run ("apply" ).Args ("-f" , fixture ).Execute ()
39
39
o .Expect (err ).NotTo (o .HaveOccurred ())
40
40
41
+ // Ensure status accounts for the fixture that was applied
42
+ WaitForMachineConfigurationStatusUpdate (oc )
43
+
41
44
// Pick a random machineset to test
42
45
machineClient , err := machineclient .NewForConfig (oc .KubeFramework ().ClientConfig ())
43
46
o .Expect (err ).NotTo (o .HaveOccurred ())
@@ -66,6 +69,9 @@ func NoneMachineSetTest(oc *exutil.CLI, fixture string) {
66
69
err := oc .Run ("apply" ).Args ("-f" , fixture ).Execute ()
67
70
o .Expect (err ).NotTo (o .HaveOccurred ())
68
71
72
+ // Ensure status accounts for the fixture that was applied
73
+ WaitForMachineConfigurationStatusUpdate (oc )
74
+
69
75
// Step through all machinesets and verify boot images are reconciled correctly.
70
76
machineClient , err := machineclient .NewForConfig (oc .KubeFramework ().ClientConfig ())
71
77
o .Expect (err ).NotTo (o .HaveOccurred ())
@@ -83,6 +89,9 @@ func DegradeOnOwnerRefTest(oc *exutil.CLI, fixture string) {
83
89
err := oc .Run ("apply" ).Args ("-f" , fixture ).Execute ()
84
90
o .Expect (err ).NotTo (o .HaveOccurred ())
85
91
92
+ // Ensure status accounts for the fixture that was applied
93
+ WaitForMachineConfigurationStatusUpdate (oc )
94
+
86
95
// Pick a random machineset to test
87
96
machineClient , err := machineclient .NewForConfig (oc .KubeFramework ().ClientConfig ())
88
97
o .Expect (err ).NotTo (o .HaveOccurred ())
0 commit comments