Skip to content

Commit 74a25df

Browse files
committed
Add test coverage for idempotent preflight on all supported OSs
1 parent 760dcf2 commit 74a25df

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

integration/install_test.go

+9
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ var _ = Describe("kismatic", func() {
131131
WithMiniInfrastructure(CentOS7, aws, func(node NodeDeets, sshKey string) {
132132
err := installKismaticMini(node, sshKey)
133133
Expect(err).ToNot(HaveOccurred())
134+
// Ensure preflight checks are idempotent on CentOS7
135+
err = runValidate("kismatic-testing.yaml")
136+
Expect(err).ToNot(HaveOccurred())
134137
})
135138
})
136139
})
@@ -140,6 +143,9 @@ var _ = Describe("kismatic", func() {
140143
WithMiniInfrastructure(RedHat7, aws, func(node NodeDeets, sshKey string) {
141144
err := installKismaticMini(node, sshKey)
142145
Expect(err).ToNot(HaveOccurred())
146+
// Ensure preflight checks are idempotent on RedHat7
147+
err = runValidate("kismatic-testing.yaml")
148+
Expect(err).ToNot(HaveOccurred())
143149
})
144150
})
145151
})
@@ -149,6 +155,9 @@ var _ = Describe("kismatic", func() {
149155
WithMiniInfrastructure(Ubuntu1604LTS, aws, func(node NodeDeets, sshKey string) {
150156
err := installKismaticMini(node, sshKey)
151157
Expect(err).ToNot(HaveOccurred())
158+
// Ensure preflight checks are idempotent on Ubuntu 1604
159+
err = runValidate("kismatic-testing.yaml")
160+
Expect(err).ToNot(HaveOccurred())
152161
})
153162
})
154163
})

0 commit comments

Comments
 (0)