Fixed timeouts to be 0 so that we can test more easily 98/3698/2
authorEd Warnicke <eaw@cisco.com>
Fri, 13 Dec 2013 13:22:16 +0000 (05:22 -0800)
committerGerrit Code Review <gerrit@opendaylight.org>
Sat, 14 Dec 2013 19:37:18 +0000 (19:37 +0000)
Set idle and hard timeouts in OpenflowTestCommandProvider to
0 so that we aren't always racing flow timeouts for testing.

Change-Id: Id3450a61eda72b7dd1dcfe50e3d6eb8f0dac9e39
Signed-off-by: Ed Warnicke <eaw@cisco.com>
test-provider/src/main/java/org/opendaylight/openflowplugin/test/OpenflowpluginTestCommandProvider.java

index 57a97801d45c9dbd2af2040501ce0da6f369486a..271cce5cf8f8e5439609c8b36c6c0c7499c6b3d8 100644 (file)
@@ -477,8 +477,8 @@ public class OpenflowpluginTestCommandProvider implements CommandProvider {
         BigInteger value = new BigInteger("10", 10);
         flow.setCookie(value);
         flow.setCookieMask(value);
-        flow.setHardTimeout(12);
-        flow.setIdleTimeout(34);
+        flow.setHardTimeout(0);
+        flow.setIdleTimeout(0);
         flow.setInstallHw(false);
         flow.setStrict(false);
         flow.setContainerName(null);