]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove unnecessary sleep time randomization
authorArtur Signell <artur@vaadin.com>
Wed, 17 Aug 2016 11:10:11 +0000 (14:10 +0300)
committerArtur Signell <artur@vaadin.com>
Wed, 17 Aug 2016 11:12:08 +0000 (14:12 +0300)
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

uitest/integration_tests.xml

index 73261ccc5160d3d30e50fc3ea851356b984f6873..32ec74759847ef40a449e39ab1cddafed8fbf3d6 100644 (file)
         <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>