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

fix: wait for output reading to complete before parsing version #19921

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

mcollovati
Copy link
Collaborator

NodeInstall.getVersion currently does not block waiting for STDOUT and STDERR to be read completely. This causes random failure during node installation because of forcing an empty version.
This change waits for future to complete before parsing the version value.

NodeInstall.getVersion currently does not block waiting for STDOUT and STDERR
to be read completely. This causes random failure during node
installation because of forcing an empty version.
This change waits for future to complete before parsing the version
value.
@mcollovati
Copy link
Collaborator Author

Should fix random failures on "Slow tests" validation

Copy link

github-actions bot commented Sep 10, 2024

Test Results

1 135 files  +  544  1 135 suites  +544   1h 27m 11s ⏱️ + 16m 30s
7 392 tests +6 373  7 342 ✅ +6 358  50 💤 +15  0 ❌ ±0 
7 727 runs  +6 366  7 667 ✅ +6 351  60 💤 +15  0 ❌ ±0 

Results for commit 896790f. ± Comparison against base commit 739c92e.

♻️ This comment has been updated with latest results.

Copy link

sonarcloud bot commented Sep 10, 2024

@tltv tltv merged commit 5b5e95e into main Sep 11, 2024
26 checks passed
@tltv tltv deleted the fix/get_tool_version_wait_for_command_completion branch September 11, 2024 07:07
vaadin-bot pushed a commit that referenced this pull request Sep 11, 2024
NodeInstall.getVersion currently does not block waiting for STDOUT and STDERR
to be read completely. This causes random failure during node
installation because of forcing an empty version.
This change waits for future to complete before parsing the version
value.
vaadin-bot pushed a commit that referenced this pull request Sep 11, 2024
NodeInstall.getVersion currently does not block waiting for STDOUT and STDERR
to be read completely. This causes random failure during node
installation because of forcing an empty version.
This change waits for future to complete before parsing the version
value.
vaadin-bot added a commit that referenced this pull request Sep 11, 2024
…) (#19930)

NodeInstall.getVersion currently does not block waiting for STDOUT and STDERR
to be read completely. This causes random failure during node
installation because of forcing an empty version.
This change waits for future to complete before parsing the version
value.

Co-authored-by: Marco Collovati <marco@vaadin.com>
vaadin-bot added a commit that referenced this pull request Sep 11, 2024
…) (#19931)

NodeInstall.getVersion currently does not block waiting for STDOUT and STDERR
to be read completely. This causes random failure during node
installation because of forcing an empty version.
This change waits for future to complete before parsing the version
value.

Co-authored-by: Marco Collovati <marco@vaadin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants