Forum Discussion
I am having this issue when i run in Jenkins. Delays my tests for over 5 minutes while it tries to resolve the lock. Very inconvenient. Please advise.
Hi,
In 1.5+ you can use the flag -Dtest.history.disabled=true to disable test history completely.
In 1.4.x the easiest way to fix this is to delete your test history database. It's located in $HOME/.readyapi/db. Of course this means that you will loose any test history.
Hope this helps,
Anders
Ready! API developer
- cbaker9 years agoNew Contributor
I have version 1.6.0. I did try to use the flag -Dtest.history.disabled=true in my Jenkins shell command as shown below, but still got the same error.
cd RegContactValidationWebSvcSoapUITest/TestSuites
${SOAP_UI_PRO_BIN_HOME}/testrunner.sh -j -r -E${Server} -Dtest.history.disabled=true RegContactValidation-soapui-project.xmlPlease provide steps of how to delete test history database. I don't know how to get to $HOME/.readyapi/db
- AJaensson9 years agoStaff
Strange, I just tried it and it should definitely work in 1.6.0. I'll report that so that we can find out if there are problems in certain situations.
As for deleting the test history db, you should be able to put this at the start of your jenkins shell command:
rm -rf ~/.readyapi/db
Related Content
Recent Discussions
- 6 days ago
- 10 days ago