devicefarm 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/devicefarm/devicefarmapi.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 445423b1651313928eead5561cb8eeb3686bc0df
|
4
|
+
data.tar.gz: d813d9dabe5d330735914ec681e674791e8df270
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75747009076bb0eeff1be4b931d191e41725b96eabc67da21f17e7bbd62e373169b5e13829e4a0387233946d269a9488b9e9b5a195fb9ad80b76429dbf8ec733
|
7
|
+
data.tar.gz: 11aa1734a13395120cfaa0b57e2a68e2be733bcff5b9637d32c25a463f71f23a550df7ed04cccfd24894574538f93f47a2749ce1420ff14521011cc5c94e75fc
|
@@ -34,12 +34,12 @@ class DeviceFarm::DeviceFarmApi
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def wait_for_upload_finish(upload)
|
37
|
-
upload_result = get_upload_result(upload)
|
38
|
-
p upload_result.status
|
39
|
-
|
37
|
+
upload_result = get_upload_result(upload)
|
40
38
|
while(upload_result.status != "SUCCEEDED")
|
41
39
|
upload_result = get_upload_result(upload)
|
42
|
-
|
40
|
+
if upload_result.status.to_s == "FAILED"
|
41
|
+
break
|
42
|
+
end
|
43
43
|
sleep(POLLING_INTERVAL)
|
44
44
|
end
|
45
45
|
end
|