Skip to content

Commit 5b1f5c4

Browse files
authored
Merge pull request AppiumTestDistribution#36 from Jitu1888/patch-1
Update AppiumParallelMethodTestListener.java
2 parents 9944524 + a19e7fa commit 5b1f5c4

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)