I am using
test's in parallel to
servers configured with different ports and UUID's for each device. I am running the same test on both phones. It looks like when the test ends on the first phone it somehow interferes with the other phone which is still processing the same test. This results in the error message and stack trace shown below.
This does NOT
happen every time. It seems like most of the time the problem occurs but sometimes it will run a test on both without an issue.
As part of the tests we close out the driver at the end using
. Doing this causes the behaviour described above. If I REMOVE
all the tests will finish successfully. The problem with this is that if I want to run other tests the driver session is still open in
and there is no way to close it unless I restart
Each JUnit test is run on its on Appium port and using the UUID of the device.
- Appium version (or git revision) that exhibits the issue: Appium v1.5.3 / Appium Java Client 4.0.0 / Appium 3.4.1
2 Different errors:
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Android bootstrap socket crashed: Error: This socket has been ended by the other party (WARNING: The server did not provide any stacktrace information)
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: socket hang up (WARNING: The server did not provide any stacktrace information)