Currently, I try to automate a Test suite on multiple Android devices and desktop browser.
The problem is, when I run 4 or more Tests in parallel, after some time (few hours, with more tests it crashes faster) I get a Bluescreen. I circumscribed the problem and found out that it’s the adb.exe.
I wrote some code with I can reproduce the BSOD in a few Minutes.
Basically I wrote a class that starts a Runtime that starts "adb kill-server" - "adb start-server" - "adb devices" in a loop with Thred.sleep between. So it is similar to Appiums behaviour.
I start this class multiple times in parallel, with more than 6 instances it crashes in a few minutes.
I use Windows 7 and the framework is writne in Java.
Maybe someone has an idea how to solve this.
Or how do you run multiple devices in parallel.