mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-21 16:16:27 -04:00
Change format of progress report in network stress test
Printing on stdout with a different format makes progress bars easier to filter out.
This commit is contained in:
parent
0e9bcff2c8
commit
7b0834e3b8
@ -113,9 +113,10 @@ public class NetworkStressTest {
|
||||
latch.countDown();
|
||||
int remaining = (int)latch.getCount();
|
||||
if (remaining > 0)
|
||||
System.err.print(String.format("\r%s: %s ", this.getClass().getSimpleName(), nChars(c, remaining)));
|
||||
System.out.print(String.format("\r%s> %s ", this.getClass().getSimpleName(), nChars(c, remaining)));
|
||||
if (remaining == 1)
|
||||
System.err.println();
|
||||
System.out.print('\n');
|
||||
System.out.flush();
|
||||
}
|
||||
|
||||
@Before
|
||||
|
Loading…
x
Reference in New Issue
Block a user