commit | b69b6ccdf7135c46e7f83c93f83fdf7cf351a129 | [log] [tgz] |
---|---|---|
author | Pier Luigi <pierventre@hotmail.com> | Tue Jan 10 15:13:14 2017 -0800 |
committer | Thomas Vachuska <tom@onlab.us> | Tue Feb 07 18:30:36 2017 +0000 |
tree | 2b37cf68737e860cc88a71b7753752cb5fb9ab8e | |
parent | 9b1d6269056d62ce1b9e738d72553b581dedf698 [diff] [blame] |
Fix for [ONOS-5824] Changes: - Redesigns DefaultSingleTablePipeline; - Changes the timeout of test to reduce the false-negatives; Change-Id: I15fa20fd8a15908e70bc22de7913367b9ef113c7
diff --git a/cli/src/main/java/org/onosproject/cli/net/IntentPushTestCommand.java b/cli/src/main/java/org/onosproject/cli/net/IntentPushTestCommand.java index 2782b76..d6405f0 100644 --- a/cli/src/main/java/org/onosproject/cli/net/IntentPushTestCommand.java +++ b/cli/src/main/java/org/onosproject/cli/net/IntentPushTestCommand.java
@@ -165,7 +165,9 @@ } try { - if (latch.await(1000 + count * 30, TimeUnit.MILLISECONDS)) { + // In this way with the tests in place the timeout will be + // 61 seconds. + if (latch.await(1000 + count * 60, TimeUnit.MILLISECONDS)) { printResults(count); } else { print("Failure: %d intents not installed", latch.getCount());