@@ -385,16 +385,16 @@ public void removeRxFilters(int portIndex, int profileId) {
385385 /**
386386 * Wait until traffic on specified port(s) has ended
387387 *
388- * @param timeoutInSecounds
388+ * @param timeoutInSeconds
389389 * @param rxDelayMs Time to wait (in milliseconds) after last packet was sent, until RX filters
390390 * used for measuring flow statistics and latency are removed. This value should reflect the
391391 * time it takes packets which were transmitted to arrive to the destination. After this time,
392392 * RX filters will be removed, and packets arriving for per flow statistics feature and
393393 * latency flows will be counted as errors.
394394 * @param ports Ports on which to execute the command
395395 */
396- public void waitOnTrafficToFinish (int timeoutInSecounds , int rxDelayMs , Port ... ports ) {
397- long endTime = System .currentTimeMillis () + timeoutInSecounds * 1000 ;
396+ public void waitOnTrafficToFinish (int timeoutInSeconds , int rxDelayMs , Port ... ports ) {
397+ long endTime = System .currentTimeMillis () + timeoutInSeconds * 1000 ;
398398 List <Port > portsStillSendingTraffic = new ArrayList <>(Arrays .asList (ports ));
399399
400400 while (!portsStillSendingTraffic .isEmpty ()) {
@@ -408,7 +408,7 @@ public void waitOnTrafficToFinish(int timeoutInSecounds, int rxDelayMs, Port...
408408 break ;
409409 }
410410 if (!portsStillSendingTraffic .isEmpty ()) {
411- sleepMilliSecounds (10 );
411+ sleepMilliSeconds (10 );
412412 }
413413 }
414414
@@ -433,14 +433,14 @@ protected void removeRxFiltersWithDelay(int rxDelayMs, Port... ports) {
433433 rxDelayToUse = rxDelayMs ;
434434 }
435435
436- sleepMilliSecounds (rxDelayToUse );
436+ sleepMilliSeconds (rxDelayToUse );
437437
438438 for (Port port : ports ) {
439439 removeRxFilters (port .getIndex (), 0 );
440440 }
441441 }
442442
443- protected void sleepMilliSecounds (int secounds ) {
443+ protected void sleepMilliSeconds (int secounds ) {
444444 try {
445445 Thread .sleep (secounds );
446446 } catch (InterruptedException e ) {
0 commit comments