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

[JENKINS-72011] MavenConsoleParser: do not read from empty stream #944

Merged
merged 2 commits into from
Sep 15, 2023

Conversation

uhafner
Copy link
Member

@uhafner uhafner commented Sep 15, 2023

Add a guard before reading additional info messages to the buffer.

See JENKINS-72011 for details.

@uhafner uhafner added the bug Bugs or performance problems label Sep 15, 2023
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #944 (49d5204) into master (565bacf) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #944   +/-   ##
=========================================
  Coverage     92.92%   92.92%           
- Complexity     2338     2340    +2     
=========================================
  Files           345      345           
  Lines          6499     6501    +2     
  Branches        672      673    +1     
=========================================
+ Hits           6039     6041    +2     
  Misses          262      262           
  Partials        198      198           
Files Changed Coverage Δ
...hafner/analysis/parser/AbstractMavenLogParser.java 96.00% <100.00%> (+0.34%) ⬆️
.../hm/hafner/analysis/parser/MavenConsoleParser.java 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@uhafner uhafner merged commit 564e3fd into master Sep 15, 2023
26 checks passed
@uhafner uhafner deleted the ignore-empty-messages branch September 15, 2023 15:55
@uhafner uhafner changed the title [JENKINS-72011] Do not read from empty stream [JENKINS-72011] MavenConsoleParser: do not read from empty stream Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs or performance problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant