summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-08-17 14:10:11 +0300
committerArtur Signell <artur@vaadin.com>2016-08-17 14:12:08 +0300
commit6f6df26ae6ddd3100f6b1237504abaad8e327fe4 (patch)
tree7e307a642cb70f1f3f554f2c2529718957fa57cf /uitest
parent9661839707a76de888a4ede6da4ab9a12d3c023a (diff)
downloadvaadin-framework-6f6df26ae6ddd3100f6b1237504abaad8e327fe4.tar.gz
vaadin-framework-6f6df26ae6ddd3100f6b1237504abaad8e327fe4.zip
Remove unnecessary sleep time randomization
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
Diffstat (limited to 'uitest')
-rw-r--r--uitest/integration_tests.xml12
1 files changed, 2 insertions, 10 deletions
diff --git a/uitest/integration_tests.xml b/uitest/integration_tests.xml
index 73261ccc51..32ec747598 100644
--- a/uitest/integration_tests.xml
+++ b/uitest/integration_tests.xml
@@ -248,16 +248,8 @@
<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>