Seems like the randomization is not thread safe and from time to time
causes all server tests to fail with
"integration_tests.xml:251: Only 1 operation can be specified"
Change-Id: I41774fb4d7637e3485a82ef0096193c73a201eb5
<antcontrib:if>
<isset property="startDelay" />
<then>
- <antcontrib:math result="sleepTime" datatype="int">
- <op op="rint">
- <op op="*">
- <num value="${startDelay}" />
- <op op="random" />
- </op>
- </op>
- </antcontrib:math>
- <echo>Delaying startup of ${target-server} with ${sleepTime} seconds</echo>
- <sleep seconds="${sleepTime}" />
+ <echo>Delaying startup of ${target-server} with ${startDelay} seconds</echo>
+ <sleep seconds="${startDelay}" />
</then>
</antcontrib:if>