Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make e2e-olm reliable #27

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/olm/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ var _ = BeforeSuite(func() {
)
installPlanName, err := utils.Run(cmd, "/test/olm")
if err != nil {
return err
return fmt.Errorf("failed to get installplan, please check the subscription, %w", err)
}
if !strings.Contains(string(installPlanName), "install") {
return fmt.Errorf("expect installplan to be in installed state")
Expand All @@ -86,7 +86,7 @@ var _ = BeforeSuite(func() {

return nil
}
EventuallyWithOffset(1, verifyInstallPlan, 3*time.Minute, 10*time.Second).Should(Succeed())
EventuallyWithOffset(1, verifyInstallPlan, 5*time.Minute, 10*time.Second).Should(Succeed())

By("validating that the flux-operator is running")
exec.Command("kubectl", "wait", "--for=condition=Ready=true", "pod",
Expand Down