Execute one more test class based on one driver [HELP]

I used appium v2.** (with device farm plugin) and I have one more test class files.

this is my testng.xml file source code:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="Test Suite Name">
        <listener class-name="Helpers.AnnotationTransformer"/>
        <listener class-name="Helpers.Listener"/>

    <test name="some name">
            <class name="testClass1"/>
            <class name="testClass2"/>



I have only one mobile device for testing.

and I execute this testng file, appium started search 2 mobile device for execute script.
i wont to run all test file only one device (class by class) not parallel.
how can do this? :frowning:
this problem started after appium update.

Appium starts searching for as many devices as there are test files written here

      <class name="testClass1"/>
       <class name="testClass2"/>

tags: java, appium, testng, mvn

Appium does not search for anything. It is just a program and with aws it is running on Amazon computer. Your code somewhere tries to run this in parallel. While by default as is in your XML it should run in one thread.

I agree with you :)))
but this problem I never had before update of appium version. :frowning: