Is there any maven sleep functionality?

后端 未结 2 1969
失恋的感觉
失恋的感觉 2021-02-19 15:32

I have maven profile set for testing where in pre-integration-tests maven starts two jetty servers and afterwards tests are started. The problem I\'ve stumbled into is in the se

2条回答
  •  礼貌的吻别
    2021-02-19 15:53

    I have created a maven-sleep-plugin once. Not sure how much it works now, you can try and let us know.

    Usage (after checking out the source and building):

    
        org.jboss.maven.plugins
        maven-sleep-plugin
        1.0
        
            
                sleep-5-seconds
                pre-integration-test
                
                    sleep
                
                
                     5
                
            
       
    
    

提交回复
热议问题