Add code for working sanity test in windows. 93/1893/6
authorRyan Moats <rmoats@us.ibm.com>
Mon, 14 Oct 2013 23:40:37 +0000 (18:40 -0500)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 16 Oct 2013 21:52:11 +0000 (21:52 +0000)
commit98a87e05e8658955e697525434f028c34bdfa877
treeea3cdf96ef3be08eea039a1b21d76e7cbf2e340a
parent99050b4a43221f1e82f2fb61bc4ea162c2c7e283
Add code for working sanity test in windows.

Refactor application windows batch file to avoid delayed
execution issues.  Add windows batch file to run sanity test.
Refactor sanity test class to call windows batch file properly.
Refactor activator class to close System.out stream before exiting
so that ProcessBuilder detects the exit.

Refactor to first check at 10 seconds and then recheck every second
if bundles are still in the STARTING state.

Refactor to inherit IO and add limit of 60 retries.

And fix style errors

Change-Id: Ifa4d78ebfcf0eeaaccf99e56e84a88d33377f0fa
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
opendaylight/distribution/opendaylight/run.bat
opendaylight/distribution/opendaylight/src/main/resources/run.bat
opendaylight/distribution/sanitytest/src/main/java/org/opendaylight/controller/distribution/Sanity.java
opendaylight/distribution/sanitytest/src/main/java/org/opendaylight/controller/sanitytest/internal/Activator.java