BUG-7673: Fix PCC Mock test failures
[bgpcep.git] / pcep / pcc-mock / src / test / java / org / opendaylight / protocol / pcep / pcc / mock / PCCIncrementalSyncTest.java
index 1fc61fda37da4e3873c64671de0752f864017b31..1079e7e56c101c27aa55c13c3aaab64ea0778d77 100644 (file)
@@ -25,15 +25,16 @@ import org.opendaylight.protocol.util.InetSocketAddressUtil;
 
 public class PCCIncrementalSyncTest extends PCCMockCommon {
 
-    private BigInteger lsp = BigInteger.valueOf(8);
+    private final BigInteger lsp = BigInteger.valueOf(8);
     /**
      * Test Incremental Synchronization
      * Create 8 lsp, then it disconnects after 5 sec and then after 5 sec reconnects with Pcc DBVersion 10
      * After reconnection PCE has DBVersion 10, therefore there is 9 changes missed. 9 Pcrt + 1 Pcrt-Sync
      */
-    private final String[] mainInputIncrementalSync = new String[]{"--local-address", this.localAddress.getHostString(), "--remote-address",
-        InetSocketAddressUtil.toHostAndPort(this.remoteAddress).toString(), "--pcc", "1", "--lsp", lsp.toString(), "--log-level", "DEBUG", "-ka", "40", "-d", "120",
-        "--reconnect", "-1", "--redelegation-timeout", "0", "--state-timeout", "-1", "--incremental-sync-procedure", "10", "5", "5"};
+    private final String[] mainInputIncrementalSync = new String[]{"--local-address", this.localAddress.getHostString(),
+        "--remote-address", InetSocketAddressUtil.toHostAndPort(this.remoteAddress).toString(), "--pcc", "1", "--lsp",
+        lsp.toString(), "--log-level", "DEBUG", "-ka", "30", "-d", "120", "--reconnect", "-1", "--redelegation-timeout",
+        "0", "--state-timeout", "-1", "--incremental-sync-procedure", "10", "5", "5"};
 
     @Test
     public void testSessionIncrementalSyncEstablishment() throws UnknownHostException, InterruptedException, ExecutionException {