fastlane-plugin-mango 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6943ff769cf79d9b01816a0b4f2e035b49e9cc57dcf7aaa19463f1beda2c65a2
|
4
|
+
data.tar.gz: b942037a01855cb758c7e27674a811e4538ff22702b0df19f8883cda9f4be47a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 499895a54621b2dab0c674f5da56da50b965892f756dc8a1c7b7b8de50732128aaab45d9259333f8ad9bd399571078daeb796e3bbcbb61e3356575944d515420
|
7
|
+
data.tar.gz: c04088926742786a6ac84f9da440b402f4b039457fc0b6ca281b67353c05e57197339267fa1e40605f2b15eb76a0cde843da9aff8b93e705da576261bc6d2ef1
|
@@ -50,6 +50,16 @@ module Fastlane
|
|
50
50
|
def emulator_is_healthy?
|
51
51
|
list_devices = @docker_commander.exec(command: 'adb devices')
|
52
52
|
list_devices.include? "\tdevice"
|
53
|
+
rescue FastlaneCore::Interface::FastlaneShellError => e
|
54
|
+
# Under weird circumstances it can happen that adb is running but adb is not completely up
|
55
|
+
# it recovers after some time, so wait and retry
|
56
|
+
retry_counter = retry_counter.to_i + 1
|
57
|
+
if retry_counter <= 5
|
58
|
+
sleep 10*retry_counter
|
59
|
+
retry
|
60
|
+
else
|
61
|
+
raise e
|
62
|
+
end
|
53
63
|
end
|
54
64
|
end
|
55
65
|
end
|
@@ -67,7 +67,7 @@ module Fastlane
|
|
67
67
|
end
|
68
68
|
|
69
69
|
unless container_state
|
70
|
-
UI.important("Will retry
|
70
|
+
UI.important("Will retry to create a healthy docker container after #{sleep_interval} seconds")
|
71
71
|
@container.stop
|
72
72
|
@container.delete(force: true)
|
73
73
|
sleep @sleep_interval
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-mango
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Serghei Moret, Daniel Hartwich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docker-api
|