Repository navigation
test: stop retrying a dev loop start that keeps timing out (#27681) (CP: 25.4) - #27687
Merged
Merged
Conversation
…CP: 25.4) Depends on #27590 **build failure** · flow-tests · the nightly dev loop build when one server cannot start When a dev loop fixture's server does not start, every test in that fixture waits the full 5 minutes for `vaadin-dev start` and then fails. In the nightly build on bender, Payara Server never starts, so its tests use the rest of the 3-hour timeout and payara-micro never runs. Now, after two starts in a row time out, the next ones fail at once with the last start's output. **Risks:** -⚠️ Behaviour change in the tests: after two timed-out starts, the rest of that fixture's execution does not try to start the server again, even if it would have started later. One timeout is still retried, for a first start that is slow once. - ✅ Test code only. Nothing is skipped: the tests still fail, so a server that cannot start stays visible in the report. **Context.** Every dev loop IT starts the application before it does anything, and the CLI driver kills a command after 5 minutes. A server that hangs on boot hangs again in the next test, so retrying only adds 5 minutes per test: in the nightly build of 2026-12-04, Payara used 30 minutes for `DevLoopApplyIT` and 25 for `DevLoopBrowserIT`, with about 30 more tests to go. - `VaadinDevCli` counts, per application, the `start` commands in a row that did not finish in time, and after two it fails every later `start` of that application at once, with what the last one said - A start that finishes in time resets the count - Only a timeout counts: a start that exits with an error is already fast, and some tests start again after a `stop` on purpose - The count lasts as long as the test JVM, which is one failsafe execution of one fixture, so the `maven-compile` execution and the other fixtures try again --------- Co-authored-by: mikhail <mikhail@vaadin.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
vaadin-review-bot
approved these changes
Dec 4, 2026
Collaborator
Author
|
This PR is eligible for auto-merging policy, so it has been approved automatically. If there are pending conditions, auto merge (with 'squash' method) has been enabled for this PR [Message is sent from bot] |
vaadin-bot
enabled auto-merge (squash)
December 4, 2026 15:42
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR cherry-picks changes from the original PR #27681 to branch 25.4.