diff --git a/tests/assisted/ztp/operator/tests/additional-trust-bundle.go b/tests/assisted/ztp/operator/tests/additional-trust-bundle.go index 848383367..fdbca29ee 100644 --- a/tests/assisted/ztp/operator/tests/additional-trust-bundle.go +++ b/tests/assisted/ztp/operator/tests/additional-trust-bundle.go @@ -127,7 +127,7 @@ var _ = Describe( infraenv.Definition.Spec.AdditionalTrustBundle = additionalTrustCertificate _, err = infraenv.Create() Expect(err).ToNot(HaveOccurred(), "error creating infraenv") - _, err := infraenv.WaitForDiscoveryISOCreation(time.Second * 40) + _, err := infraenv.WaitForDiscoveryISOCreation(time.Minute * 3) Expect(err).ToNot(HaveOccurred(), "error creating discovery iso") By("Checking additionalTrustBundle equal to additionalTrustCertificate") Expect(infraenv.Object.Spec.AdditionalTrustBundle). diff --git a/tests/assisted/ztp/operator/tests/infraenv-multiarch-image.go b/tests/assisted/ztp/operator/tests/infraenv-multiarch-image.go index 8179b7d84..86f6d9b27 100644 --- a/tests/assisted/ztp/operator/tests/infraenv-multiarch-image.go +++ b/tests/assisted/ztp/operator/tests/infraenv-multiarch-image.go @@ -367,7 +367,7 @@ func createSpokeClusterResources(cpuArch string, mismatchCPUArchitecture ...stri if len(mismatchCPUArchitecture) == 0 { By("Wait until the discovery iso is created for the infraenv") - _, err = infraEnvBuilder.WaitForDiscoveryISOCreation(300 * time.Second) + _, err = infraEnvBuilder.WaitForDiscoveryISOCreation(time.Minute * 3) Expect(err).ToNot(HaveOccurred(), "error waiting for the discovery iso creation") } else { By("Wait until infraenv shows an error for the mismatching image architecture") diff --git a/tests/assisted/ztp/operator/tests/osimage-clusterimageset-test.go b/tests/assisted/ztp/operator/tests/osimage-clusterimageset-test.go index ca13e5a98..16d02f149 100644 --- a/tests/assisted/ztp/operator/tests/osimage-clusterimageset-test.go +++ b/tests/assisted/ztp/operator/tests/osimage-clusterimageset-test.go @@ -114,7 +114,7 @@ var _ = Describe( WithClusterRef(osImageClusterImageSetName, osImageClusterImageSetName).Create() Expect(err).ToNot(HaveOccurred(), "error creating infraenv") - _, err = osImageClusterImageSetInfraEnv.WaitForDiscoveryISOCreation(time.Second * 45) + _, err = osImageClusterImageSetInfraEnv.WaitForDiscoveryISOCreation(time.Minute * 3) Expect(err).ToNot(HaveOccurred(), "error waiting for discovery iso to be generated") }) diff --git a/tests/assisted/ztp/operator/tests/platform-selection-test.go b/tests/assisted/ztp/operator/tests/platform-selection-test.go index d5ffeee1f..2b89d1a8e 100644 --- a/tests/assisted/ztp/operator/tests/platform-selection-test.go +++ b/tests/assisted/ztp/operator/tests/platform-selection-test.go @@ -113,7 +113,7 @@ var _ = Describe( Expect(err).ToNot(HaveOccurred(), "error creating agentclusterinstall") By("Waiting for condition to report expected failure message") err = testAgentClusterInstall.WaitForConditionMessage(v1beta1.ClusterSpecSyncedCondition, - "The Spec could not be synced due to an input error: "+message, time.Second*30) + "The Spec could not be synced due to an input error: "+message, time.Minute*2) Expect(err).NotTo(HaveOccurred(), "got unexpected message from SpecSynced condition") } },