Skip to content

Commit a19e7fa

Browse files
authored
Update AppiumParallelMethodTestListener.java
Added logs for releasing devices
1 parent 9944524 commit a19e7fa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/com/appium/manager/AppiumParallelMethodTestListener.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,10 @@ public void afterInvocation(IInvokedMethod iInvokedMethod, ITestResult iTestResu
161161
}
162162
}
163163
if (iInvokedMethod.isTestMethod()) {
164-
AppiumDriverManager.getDriver().quit();
164+
System.out.println("Releasing the Device");
165165
deviceAllocationManager.freeDevice();
166+
AppiumDriverManager.getDriver().quit();
167+
System.out.println("Releasing the Device Done");
166168
if (!isCloudExecution()) {
167169
appiumDriverManager.stopAppiumDriver();
168170
}

0 commit comments

Comments
 (0)