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

GH-40775: [Benchmarking][Java] Fix conbench timeout #40786

Merged
merged 16 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,12 @@ public void testMemoryUsage() {
break;
}
}
assertTrue("Log messages are:\n" +
synchronized (memoryLogsAppender.list) {
assertTrue("Log messages are:\n" +
memoryLogsAppender.list.stream().map(ILoggingEvent::toString).collect(Collectors.joining("\n")),
result);
result);
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

} finally {
memoryLogsAppender.stop();
logger.detachAppender(memoryLogsAppender);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ public long align() throws IOException {
*/
public long write(ByteBuffer buffer) throws IOException {
long length = buffer.remaining();
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("Writing buffer with size: {}", length);
}
while (buffer.hasRemaining()) {
out.write(buffer);
}
Expand Down
Loading