Skip to content

Commit

Permalink
Modify some changes in pom for jenkins tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matusmacik committed Jul 26, 2018
1 parent 786da19 commit 970a6e0
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions testing/schrodingertest/pom.xml
Expand Up @@ -330,15 +330,12 @@
<arg value="${project.starter.module}/pom.xml"/>
<arg value="spring-boot:run"/>
</exec>
<exec dir="." executable="bash" osfamily="unix" spawn="true">
<arg value="mvn"/>
<arg value="-f"/>
<arg value="${project.starter.module}/pom.xml"/>
<arg value="spring-boot:run"/>
<exec dir="." executable="sh" osfamily="unix" spawn="true">
<arg line="-c 'mvn -f ${project.starter.module}/pom.xml spring-boot:run'"/>
</exec>
<!--<sleep seconds="230" />&lt;!&ndash;TODO CHANGE! (This should be rather the concern of the tests) : Needed so MP boots up, but the whole thing is quite hackish and depends on the environment (and almost the weather)&ndash;&gt;-->
<waitfor maxwait="400" maxwaitunit="second" checkevery="500" checkeveryunit="millisecond">
<http url="http://www.localhost:8080/midpoint"/>
<!-- <sleep seconds="400" /> --><!--&lt;!&ndash;TODO CHANGE! (This should be rather the concern of the tests) : Needed so MP boots up, but the whole thing is quite hackish and depends on the environment (and almost the weather)&ndash;&gt;-->
<waitfor maxwait="750" maxwaitunit="second" checkevery="500" checkeveryunit="millisecond">
<http url="http://www.localhost:8090/midpoint"/>
</waitfor>
</target>
</configuration>
Expand Down Expand Up @@ -383,4 +380,4 @@
</plugins>
</build>

</project>
</project>

0 comments on commit 970a6e0

Please sign in to comment.