Add -Dsft.diag.timeout=... option to SingleFeatureTest BundleDiagInfos 74/50674/2
authorMichael Vorburger <vorburger@redhat.com>
Thu, 19 Jan 2017 14:51:07 +0000 (15:51 +0100)
committerStephen Kitt <skitt@redhat.com>
Mon, 23 Jan 2017 08:48:35 +0000 (08:48 +0000)
commit863bf4b167d899f1e681c46d2c0e2e7cd2311393
treec199273324f560c7eda44a14dfe4faaf0d60829b
parent3f1ce501fb22aa44b9a60c64007e2815c1361653
Add -Dsft.diag.timeout=... option to SingleFeatureTest BundleDiagInfos

This is useful when locally debugging issues, and you don't want to wait
too long for the bundle convergence to eventually succeed (because you
already know there is a problem).  The worst case default of 5 minutes
for the build is still a good idea, though.

This also tunes the pollInterval from 250ms to 1s, which is sufficient,
and leads to less noise in the log.

This also fixes -Dsft.diag.skip=true, which didn't actually work
(becaues of a missing PropagateSystemPropertyOption).

Change-Id: I8c7bae10295ddef57c0869628789949d991456e3
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
bundles-test/src/main/java/org/opendaylight/odlparent/bundlestest/TestBundleDiag.java
features-test/src/main/java/org/opendaylight/odlparent/featuretest/SingleFeatureTest.java