I am running UI tests in a single Xcode bot. The bots are run on a separate computer which is only used for this task and nothing else. The tests start running fine at first, but after several successful runs they start all failing with this error.
UI Testing Failure - App state is still not terminated
After the first test fails with this error - all tests after it fail as well. The only cure I found is to restart the server computer. How can I prevent this error?
OS X 10.11 (15A263e), Xcode 7.0 (7A192o), OS X Server 5.0.1 (15S2235)