X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=features-test-plugin%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fodlparent%2Ffeatures%2Ftest%2Fplugin%2FTestFeaturesMojo.java;fp=features-test-plugin%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fodlparent%2Ffeatures%2Ftest%2Fplugin%2FTestFeaturesMojo.java;h=32519e0e80cbc2b6c4925bf86a9edd7275c1d894;hb=e0b1c4ed843ccfc099396b9ac297578f2cde34bb;hp=d86234bfbfd07583eb44b05377f54760388d8b58;hpb=f5e048cc9db811a53cf1926b9df3479bf0c8efbc;p=odlparent.git diff --git a/features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/TestFeaturesMojo.java b/features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/TestFeaturesMojo.java index d86234bfb..32519e0e8 100644 --- a/features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/TestFeaturesMojo.java +++ b/features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/TestFeaturesMojo.java @@ -83,8 +83,10 @@ public final class TestFeaturesMojo extends AbstractMojo { // bundle state check probe settings @Parameter(property = "sft.diag.skip", defaultValue = "false") private boolean bundleStateCheckSkip; - @Parameter(property = "sft.diag.timeout", defaultValue = "120") + @Parameter(property = "sft.diag.timeout", defaultValue = TestProbe.DEFAULT_TIMEOUT) private int bundleStateCheckTimeout; + @Parameter(property = "sft.diag.interval", defaultValue = TestProbe.DEFAULT_TIMEOUT) + private int bundleStateCheckInterval; // vm and profile options for karaf container @Parameter(property = "sft.heap.max", defaultValue = "2g") @@ -155,6 +157,7 @@ public final class TestFeaturesMojo extends AbstractMojo { System.setProperty(TestProbe.FEATURE_FILE_URI_PROP, featureFile.toURI().toString()); System.setProperty(TestProbe.BUNDLE_CHECK_SKIP, String.valueOf(bundleStateCheckSkip)); System.setProperty(TestProbe.BUNDLE_CHECK_TIMEOUT_SECONDS, String.valueOf(bundleStateCheckTimeout)); + System.setProperty(TestProbe.BUNDLE_CHECK_INTERVAL_SECONDS, String.valueOf(bundleStateCheckInterval)); final ExamSystem system; try {