on 10-16-2018 4:01 AM
I run the opa in localhost and it can pass, but it always get time out error in Jenkins pipeline, i try to enlarge the timeout setting but it does not work.
Current opa.extendConfig has been enlarged to autoWait: true, timeout: 1000
Could anyone share the potential reason why it gets timeout and possible solution? Thanks...
Hi Lisa,
I do not know if this can change the result, but I will make you aware of it. Is the timeout valid? Last time I checked, the timeout reaches 90 seconds before QUnit stops the process (the timeout is in seconds, not in milliseconds).
Also, you might want to check if there is an image that is offered in the Jenkins' files. An image is usually offered to let you know when and what the error was at the moment of the crash.
You could also try to run the tests locally and see for yourself what is the error. If there is a .war file offered on Jenkins, you could do it. You would need Apache Tomcat and that .war file. (see https://stackoverflow.com/questions/5109112/how-to-deploy-a-war-file-in-tomcat-7 ) If that does not work, then place that file into webapps/ROOT/ and retry the same URL.
I hope you will find your answer this way.
Regards,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.