Skip to content

test: wait for the Kotlin Gradle application to answer before testing (#6004) (CP: 24.10) - #6007

Open
vaadin-bot wants to merge 3 commits into
24.10from
cherry-pick-6004-to-24.10-1786605437781
Open

test: wait for the Kotlin Gradle application to answer before testing (#6004) (CP: 24.10)#6007
vaadin-bot wants to merge 3 commits into
24.10from
cherry-pick-6004-to-24.10-1786605437781

Conversation

@vaadin-bot

Copy link
Copy Markdown
Collaborator

No description provided.

…#6004)

bootStart launched the application and then slept for ten seconds, which
is not enough on a slower machine: the Windows run had it still setting
up JPA when the integration tests connected, so all three of them failed
with "Could not connect to http://localhost:8888" and the application was
killed before it ever finished starting.

Poll the application until it serves a request instead, giving up after
two minutes. A build that starts too slowly now says so, and one whose
application dies during startup reports the exit code rather than a
connection error from every test.
@codecov

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.62%. Comparing base (b42cc08) to head (004507e).

Additional details and impacted files
@@           Coverage Diff           @@
##            24.10    #6007   +/-   ##
=======================================
  Coverage   86.62%   86.62%           
=======================================
  Files         123      123           
  Lines        8489     8489           
  Branches     1307     1307           
=======================================
  Hits         7354     7354           
  Misses       1116     1116           
  Partials       19       19           
Flag Coverage Δ
unittests 86.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Artur-
Artur- enabled auto-merge (squash) August 13, 2026 07:36
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants