some drop tests statistics were not cleaned on clearstats command 76/20976/2
authorMartin Bobak <mbobak@cisco.com>
Fri, 22 May 2015 11:34:47 +0000 (13:34 +0200)
committerMartin Bobak <mbobak@cisco.com>
Fri, 22 May 2015 12:35:51 +0000 (14:35 +0200)
Change-Id: I58f7831f7d6f90dcc5a04d948f80bae152d7e2a1
Signed-off-by: Martin Bobak <mbobak@cisco.com>
test-common/src/main/java/org/opendaylight/openflowplugin/testcommon/AbstractDropTest.java

index 83f49539745850d1bcb99ddcb26a73927dd59caa..6d06a9a00a608774ce04d7a2d4794b07f3e792e1 100644 (file)
@@ -15,7 +15,6 @@ import java.util.Collections;
 import java.util.List;
 import java.util.concurrent.ArrayBlockingQueue;
 import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
 import java.util.concurrent.RejectedExecutionException;
 import java.util.concurrent.RejectedExecutionHandler;
 import java.util.concurrent.ThreadPoolExecutor;
@@ -114,7 +113,8 @@ abstract class AbstractDropTest implements PacketProcessingListener, AutoCloseab
         this.excs = 0;
         this.ftrSuccess = 0;
         this.ftrFailed = 0;
-
+        this.runablesExecuted = 0;
+        this.runablesRejected = 0;
     }
 
     private final void incrementRunableExecuted() {