Skip to content
Merged
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 @@ -169,15 +169,17 @@ private void testLog(LogCollector logCollector, List<Meter> meters, List<Measure
int serverLatencyIndex = actual.lastIndexOf("1 0 0 1 1 ")
+ "1 0 0 1 1 ".length();
serverLatency = actual.substring(serverLatencyIndex, actual.indexOf(" ", serverLatencyIndex));

int portSize = String.valueOf(port).length();
// in new vert.x version, bytes written must be higher than 4K or will be zero
if (printDetail) {
expect = expect + " client.endpoints:\n"
+ " connectCount disconnectCount queue connections requests latency send(Bps) receive(Bps) remote\n";
expect +=
" 1 0 0 1 1 %-7s 4 21 http://127.0.0.1:%-5s\n"
" 1 0 0 1 1 %-7s 4 21 http://127.0.0.1:%-"
+ portSize + "s\n"
+
" 1 0 0 1 0 0 0 0 tcp://127.0.0.1:%-5s\n";
" 1 0 0 1 0 0 0 0 tcp://127.0.0.1:%-"
+ portSize + "s\n";
}
expect += ""
+ " server.endpoints:\n"
Expand Down