getStatus command from grid should not be queued
MODIFY
lib/appium.js
lib/appium.js
@@ -254,6 +254,11 @@ class AppiumDriver extends BaseDriver {
}
async executeCommand (cmd, ...args) {
+ // getStatus command should not be put into queue. If we do it as part of super.executeCommand, it will be added to queue.
+ // There will be lot of status commands in queue during createSession command, as createSession can take up to or more than a minute.
+ if (cmd === 'getStatus') {
+ return await this.getStatus();
+ }
if (isAppiumDriverCommand(cmd)) {
return super.executeCommand(cmd, ...args);
}

getStatus command from grid should not be queued (#8819)