-
Notifications
You must be signed in to change notification settings - Fork 345
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
Flaky e2e test (cron-fallback) #1939
Comments
Note that I've faced the issue by running the TestRunCronExample/cron-fallback e2e test locally as well, so it does not seem CI environment specific. |
Uh, so why sometimes it passes 🤦 ? |
That's a good question 😉. I've looked at the dependencies and it seems the quartz dependencies are added correctly. It may be an issue with how Quarkus resolve classes... |
This works:
So I guess the camel-quarkus:cron dependency is missing for some reason. |
Hum that's what I did (adding the extra dependencies, not running it locally) and thought too, but IIRC if failed randomly also. Have you tried to run it multiple times? |
No, it seems to work.. at least locally.. |
OK, sounds good. It'd better be that. I did my tests quickly as I was bringing CI back on track, so I may have overlooked things or forgotten others 😀. |
Found it! Catalog contains both:
And
So depending on the status of some butterflies, the right component gets loaded. I think |
The needle in the haystack 😄. That was too much cron dependencies for me :) |
And you've just cut the project CI budget by half 👍🏼! |
Yeah, that's why restarting CI 2-3 times was working XD |
We need to fix this flaky e2e test:
It happens often, e.g. https://github.com/apache/camel-k/runs/1747588145?check_suite_focus=true, but disappears after running the CI multiple times.
The text was updated successfully, but these errors were encountered: