Skip to content

Commit

Permalink
fix(kfluxbugs-1128): fix rhtap-demo falkiness
Browse files Browse the repository at this point in the history
Signed-off-by: Kasem Alem <[email protected]>
  • Loading branch information
kasemAlem committed Feb 29, 2024
1 parent 3b42977 commit c238f52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/rhtap-demo/rhtap-demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,11 @@ var _ = framework.RhtapDemoSuiteDescribe(func() {
It("should lead to Snapshot CR being marked as passed", func() {
snapshot, err = fw.AsKubeAdmin.IntegrationController.GetSnapshot("", pipelineRun.Name, "", fw.UserNamespace)
Expect(err).ShouldNot(HaveOccurred())
Expect(fw.AsKubeAdmin.CommonController.HaveTestsSucceeded(snapshot)).To(BeTrue(), fmt.Sprintf("tests have not succeeded for snapshot %s/%s", snapshot.GetNamespace(), snapshot.GetName()))
Eventually(func() bool {
return fw.AsKubeAdmin.CommonController.HaveTestsSucceeded(snapshot)

}, time.Minute*5, defaultPollingInterval).Should(BeTrue(), fmt.Sprintf("tests have not succeeded for snapshot %s/%s", snapshot.GetNamespace(), snapshot.GetName()))

})

It("should trigger creation of Release CR", func() {
Expand Down

0 comments on commit c238f52

Please sign in to comment.