Integration tests wouldn't start (Failsafe, Maven)

后端 未结 2 1574
悲&欢浪女
悲&欢浪女 2021-01-18 13:35

I\'m trying to use Maven Failsafe Plugin to run my integration tests with this configuration:

 
    maven-failsafe-plugin<         


        
相关标签:
2条回答
  • 2021-01-18 13:58

    Change of jetty maven plugin version from 6.1.7 to 6.1.26 solved everything.

    0 讨论(0)
  • 2021-01-18 14:04

    For people still looking for a solution, I had that same problem and I solved it by replacing

    <goals>
         <goal>run-war</goal>
    </goals>
    

    by

    <goals>
         <goal>start</goal>
    </goals>
    

    It works because run* are blocking the execution, while start is non-blocking.

    0 讨论(0)
提交回复
热议问题