@@ -131,6 +131,9 @@ var _ = Describe("kismatic", func() {
131
131
WithMiniInfrastructure (CentOS7 , aws , func (node NodeDeets , sshKey string ) {
132
132
err := installKismaticMini (node , sshKey )
133
133
Expect (err ).ToNot (HaveOccurred ())
134
+ // Ensure preflight checks are idempotent on CentOS7
135
+ err = runValidate ("kismatic-testing.yaml" )
136
+ Expect (err ).ToNot (HaveOccurred ())
134
137
})
135
138
})
136
139
})
@@ -140,6 +143,9 @@ var _ = Describe("kismatic", func() {
140
143
WithMiniInfrastructure (RedHat7 , aws , func (node NodeDeets , sshKey string ) {
141
144
err := installKismaticMini (node , sshKey )
142
145
Expect (err ).ToNot (HaveOccurred ())
146
+ // Ensure preflight checks are idempotent on RedHat7
147
+ err = runValidate ("kismatic-testing.yaml" )
148
+ Expect (err ).ToNot (HaveOccurred ())
143
149
})
144
150
})
145
151
})
@@ -149,6 +155,9 @@ var _ = Describe("kismatic", func() {
149
155
WithMiniInfrastructure (Ubuntu1604LTS , aws , func (node NodeDeets , sshKey string ) {
150
156
err := installKismaticMini (node , sshKey )
151
157
Expect (err ).ToNot (HaveOccurred ())
158
+ // Ensure preflight checks are idempotent on Ubuntu 1604
159
+ err = runValidate ("kismatic-testing.yaml" )
160
+ Expect (err ).ToNot (HaveOccurred ())
152
161
})
153
162
})
154
163
})
0 commit comments