Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

No screenshots, test session freeze on more than 1 device #100

Closed
FisherKK opened this issue Feb 15, 2016 · 3 comments
Closed

No screenshots, test session freeze on more than 1 device #100

FisherKK opened this issue Feb 15, 2016 · 3 comments

Comments

@FisherKK
Copy link

Hello,

After updating spoon-runner to 1.3.1 and spoon-plugin to 1.0.5-SNAPSHOT I cannot fetch any screenshots from devices - either on 6.0 or lower Android versions.

[device name] Unable to find test for [test name]

-> and that info for every test I have. I am using gradle 1.5.0.


Furthermore if I use two devices or more then after tests finish at line:

[SDR.run] Moving screenshots to the image folder on [device name]

I get freeze. This line will load forever, I waited 30-40mins. Always on the device which ends as last one. Doesn't happen if I run tests only at one device.

@roman-mazur
Copy link
Contributor

I've just tried to run tests with spoon on Android 5.1 device using example project here. And it works (not counting problems with getting logcat output), screenshots are fetched. Could you please check if the example project works for you.

Also this plugin has no changes in 1.0.5-SNAPSHOT. Hence, I would suggest using 1.0.4 release version to avoid any future problems with snapshots.

@originx
Copy link
Contributor

originx commented Feb 15, 2016

I have the same issue with stated versions, the test run hangs forever saying execution finished waiting for devices [xxxxxxxxx]
Could it be that something crashes instrumentation and spoon is endlessly waiting it to finish?

(this mostly occurs on Samsung devices)

@FisherKK
Copy link
Author

Thanks Roman.

Problem was on my side. I set some flags that turn on/off screenshots and during some refactors it affected my tests. After I repaired it everything works fine, even on gradle 2.0.0-alpha9.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants