fastlane-plugin-automated_test_emulator_run 0.5.4 → 0.5.5
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 357c82b901f5b38f8018b4ac2b461c9b473a2a6f
|
4
|
+
data.tar.gz: 186f4bdd728f75365f2a8437379e84fabdb8cac1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de5a6f79d2139f736733814f20a7933ba5e18267250f0cf3681568903395f6d3d571d035cf8f34a2d275f96e2a8bbf9d27de3a8a3ac53e2fb9ecbd5257ff8efc
|
7
|
+
data.tar.gz: 40626d93fa76b42413e4706924e234c7619284032e4e4d5eb4d936b08468222466259262ac661598f32e4708cf1ac3d1c88874011ea7122f2c95414920845410
|
data/lib/fastlane/plugin/automated_test_emulator_run/actions/automated_test_emulator_run_action.rb
CHANGED
@@ -68,7 +68,14 @@ module Fastlane
|
|
68
68
|
UI.message("Starting AVD....".yellow)
|
69
69
|
|
70
70
|
Action.sh(start_avd_command)
|
71
|
-
waitFor_emulatorBoot(sdkRoot, port, params)
|
71
|
+
emulatorStarted = waitFor_emulatorBoot(sdkRoot, port, params)
|
72
|
+
unless emulatorStarted
|
73
|
+
waitFor_emulatorStop(sdkRoot, port, params)
|
74
|
+
|
75
|
+
UI.message("Launch failed - relaunching emulator once".green)
|
76
|
+
Action.sh(start_avd_command)
|
77
|
+
waitFor_emulatorBoot(sdkRoot, port, params)
|
78
|
+
end
|
72
79
|
|
73
80
|
UI.message("Starting tests".green)
|
74
81
|
begin
|
@@ -116,7 +123,7 @@ module Fastlane
|
|
116
123
|
currentTime = Time.now
|
117
124
|
|
118
125
|
if (currentTime - startTime) >= timeoutInSeconds
|
119
|
-
UI.message("Emulator loading took more than 3 minutes.
|
126
|
+
UI.message("Emulator loading took more than 3 minutes.".yellow)
|
120
127
|
return false
|
121
128
|
end
|
122
129
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-automated_test_emulator_run
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kamil Krzyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|