-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lambdatest integration java.lang.RuntimeException: Unable to instantiate instrumentation #2493
Comments
Same Issue |
Hi @DmytroChuchmaiBarges, thanks for the report. We will investigate that |
patrol 3.14 and cli 3.5.0
Caused by: pl.leancode.patrol.contracts.PatrolAppServiceClientException: Invalid response 500, dial tcp 127.0.0.1:8082: connect: connection refused
INSTRUMENTATION_STATUS: stream=
Caused by: pl.leancode.patrol.contracts.PatrolAppServiceClientException: Invalid response 500, dial tcp 127.0.0.1:8082: connect: connection refused
INSTRUMENTATION_STATUS: test=initializationError |
I fixed it after running flutter clean |
with 3.14 it builds fine but on LambdaTest it runs a very first test and fails the build, and the results show all (11 in my case) tests but when you open to watch video, it shows the video from that 1st test. |
Steps to reproduce
expected: the tests should normally run
actual: test don't run, an app is installed on emulator and then deleted
when upload to LambdaTest, same behavior in the test logs, as in local test report
Actual results
When I build an app with testInstrumentationRunner "pl.leancode.patrol.LambdaTestPatrolJUnitRunner"
upload to lambdatest or run tests locally via "patrol test" command
it produces an error in test report:
java.lang.RuntimeException: Unable to instantiate instrumentation ComponentInfo{com.myapp.stage.test/pl.leancode.patrol.LambdaTestPatrolJUnitRunner}: java.lang.ClassNotFoundException: Didn't find class "pl.leancode.patrol.LambdaTestPatrolJUnitRunner"
Logs
Logs
Patrol version
patrol: 3.13.1
Patrol Doctor output
Patrol Doctor output
Flutter Doctor output
Flutter Doctor output
The text was updated successfully, but these errors were encountered: