devicefarm 0.0.11 → 0.0.12
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 +5 -1
- 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: f598d614a96ece04c191b71063946732932ac003
|
4
|
+
data.tar.gz: f3544044694ff6358c9627d0db71c9116d71e6ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b3f38e88a994fdf36c54650b63b41751264e1d56e8e93b0419e384910944a7ad880524aa7e1fdd6b1645746eb68c99c228923c044743e09445ea72a37478901
|
7
|
+
data.tar.gz: c40a9709df496c80075d6922507f40667b20cc7b127974eb08c1dfce924ac12b11dbdcca74d6b0e58c766688d7bbb91488e502fb57d6f0b6a9528bd276d421af
|
@@ -52,12 +52,16 @@ class DeviceFarm::DeviceFarmApi
|
|
52
52
|
upload
|
53
53
|
end
|
54
54
|
|
55
|
+
def random_name_for_test
|
56
|
+
(0...8).map { (65 + rand(26)).chr }.join
|
57
|
+
end
|
58
|
+
|
55
59
|
def run(project:,device_pool:,upload_app:,upload_artifact_test:,type:)
|
56
60
|
@client.schedule_run({
|
57
61
|
project_arn: project.arn,
|
58
62
|
app_arn: upload_app.arn,
|
59
63
|
device_pool_arn: device_pool.arn,
|
60
|
-
name:
|
64
|
+
name: random_name_for_test,
|
61
65
|
test: {
|
62
66
|
type: type,
|
63
67
|
test_package_arn: upload_artifact_test.arn
|