New option to specify how long test should run. #2

Merged
nellemann merged 3 commits from time into main 2023-07-14 09:19:21 +00:00
Showing only changes of commit 8d6c7f8140 - Show all commits

View file

@ -92,7 +92,6 @@ public class Application implements Callable<Integer> {
if(useUdp) { if(useUdp) {
if(packetSize > Payload.MAX_UDP_LENGTH) { if(packetSize > Payload.MAX_UDP_LENGTH) {
System.err.println("Packetsize > MAX UDP: " + packetSize);
packetSize = Payload.MAX_UDP_LENGTH; packetSize = Payload.MAX_UDP_LENGTH;
} }
UdpClient udpClient = new UdpClient(remoteHost, port, packetSize, packetCount, timeInSeconds); UdpClient udpClient = new UdpClient(remoteHost, port, packetSize, packetCount, timeInSeconds);