зеркало из https://github.com/microsoft/appium.git
add a retry to getting available devices from instruments (fix #3796)
This commit is contained in:
Родитель
bfe72de9ef
Коммит
8e3f21d49b
|
@ -1004,7 +1004,7 @@ IOS.prototype.getBundleIdFromApp = function (cb) {
|
|||
IOS.prototype.checkDeviceAvailable = function (cb) {
|
||||
if (this.iOSSDKVersion >= 7.1) {
|
||||
logger.debug("Checking whether instruments supports our device string");
|
||||
Instruments.getAvailableDevices(function (err, availDevices) {
|
||||
Instruments.getAvailableDevicesWithRetry(3, function (err, availDevices) {
|
||||
var dString = this.getDeviceString();
|
||||
if (err) return cb(err);
|
||||
if (!_.contains(availDevices, dString)) {
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
"adm-zip": "~0.4.4",
|
||||
"appium-adb": "~1.3.17",
|
||||
"appium-atoms": "~0.0.5",
|
||||
"appium-instruments": "~1.4.8",
|
||||
"appium-instruments": "~1.4.9",
|
||||
"appium-uiauto": "~1.7.13",
|
||||
"argparse": "~0.1.15",
|
||||
"async": "~0.9.0",
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9f81f87e300379cedd9b25e5cb326f9c0ff5abfa
|
||||
Subproject commit c7ca1796366e3af40c94550aaac9cd5bf6b1860d
|
Загрузка…
Ссылка в новой задаче