Resolve containerdisk after initialization
BeforeEach got the containerdisk as parameter before commandline
arguments were parsed. Therefore the tag of the containerdisk was empty
in the template task.
@@ -263,7 +263,9 @@ var _ = Describe("[Serial][sig-compute]Templates", func() {
AfterEach(AssertTestCleanupSuccess())
Context("with Fedora Template", func() {
- BeforeEach(AssertTemplateSetupSuccess(vmsgen.GetTemplateFedoraWithContainerDisk(cd.ContainerDiskFor(cd.ContainerDiskFedora)), nil))
+ BeforeEach(func() {
+ AssertTemplateSetupSuccess(vmsgen.GetTemplateFedoraWithContainerDisk(cd.ContainerDiskFor(cd.ContainerDiskFedora)), nil)
+ })
AssertTemplateTestSuccess()
})
