I'm having an issue with the above browserStackLocal.stop() method when running inside a Docker container.
I'm using the latest package version
com.browserstack
browserstack-local-java
1.0.2
I have tried the following combinations inside my Dockerfile (using a workaround from similar issue with browserstack-local-nodejs) to no avail:
- CMD ["java", "-cp", "target/.jar", "org.testng.TestNG", "testng.xml"]
- CMD ["/bin/bash", "-c", "set -e && java -cp .jar org.testng.TestNG testng.xml"]
the only thing works is commenting the browserStackLocal.stop() call.
Can anyone look into this? Is there a workaround that might help?
Proof. When I connect to this running container, I see this:
# ps -eo pid,ppid,state,cmd | awk '$3=="Z"'
63 1 Z [BrowserStackLoc] <defunct>
I'm having an issue with the above browserStackLocal.stop() method when running inside a Docker container.
I'm using the latest package version
com.browserstack
browserstack-local-java
1.0.2
I have tried the following combinations inside my Dockerfile (using a workaround from similar issue with browserstack-local-nodejs) to no avail:
the only thing works is commenting the browserStackLocal.stop() call.
Can anyone look into this? Is there a workaround that might help?
Proof. When I connect to this running container, I see this: