fastlane-plugin-android_testlab_script_swit 0.1.944 → 0.1.945

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c5e9ec9360b898b05ff87fa6b64d830aa77cb1438ee5da091c12359ced4e7a5
4
- data.tar.gz: d391ccc6c72b6b3211f3d7dec4f7d880af43e271d46931d7eb45c6ee54a29df1
3
+ metadata.gz: 9f3bc8866c1e11428287eece186ffaa0363a56d495116ff6d0cf088e6079722a
4
+ data.tar.gz: 397725755ceed3690e61643fd86ba01a39adcf7150a5a90b92379a839258a73c
5
5
  SHA512:
6
- metadata.gz: 13b9c9909895e947758227fb483f0bd24ffc243f9d952d938bd518a8e88fb48d6021597911cb0539896aa2fe1954e5301217c2568fdfbafd81871e1d443f5af7
7
- data.tar.gz: 704f081edd9df4655f85fe6009b122abfad184a0e54dbc6032fe60d87d74f4168b4b13ccaf35879cfb0656406fd2445d486b2839dfdc845739cfec3e176dd8a3
6
+ metadata.gz: feee984278efcfe63fd944db4e1926700af6b00fe0b722d9818d5d13a8518efa77300bff1d172e8c62104805559c9d253c499d8b8a9ca0660c0cac5a7c0cbab1
7
+ data.tar.gz: edb98b4c179b46ae6016e8d366db65abc5c7649062ef31093a38b3970ac3e26a0b653f1b248bb5e21c94060ac8eb28aa39f3d7d081680c618cf1b688d1931443
@@ -23,12 +23,31 @@ module Fastlane
23
23
 
24
24
  # Activate service account
25
25
  Helper.authenticate(params[:gcloud_key_file])
26
-
27
- # RoboScriptOption
28
- robo_script_option = params[:robo_script_path].nil? ? "" : "--robo-script #{params[:robo_script_path]} "
29
26
 
30
27
  # Run Firebase Test Lab
31
- Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
28
+ params[:devices].each_with_index do |device, index|
29
+
30
+ # 딜레이 추가
31
+ sleep(index * 90) # 각 디바이스별로 1분씩 증가하는 딜레이
32
+
33
+ # RoboScriptOption
34
+ robo_script_option = params[:robo_script_path].nil? ? "" : "--robo-script #{params[:robo_script_path]} "
35
+
36
+ Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
37
+ "--app #{params[:app_apk]} "\
38
+ "#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
39
+ "#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
40
+ "--device model=#{device[:model]},version=#{device[:version]},locale=#{device[:locale]},orientation=#{device[:orientation]} "\
41
+ "--timeout #{params[:timeout]} "\
42
+ "--results-bucket #{results_bucket} "\
43
+ "--results-dir #{results_dir} "\
44
+ "#{params[:extra_options]} "\
45
+ "--robo-script #{robo_script_option} "\
46
+ "--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
47
+
48
+ end
49
+
50
+ #Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
32
51
  "--app #{params[:app_apk]} "\
33
52
  "#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
34
53
  "#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
@@ -39,7 +58,7 @@ module Fastlane
39
58
  "#{params[:extra_options]} "\
40
59
  "#{robo_script_option}"\
41
60
  "--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
42
- )
61
+ #)
43
62
 
44
63
  # Fetch results
45
64
  download_dir = params[:download_dir]
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.944"
3
+ VERSION = "0.1.945"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-android_testlab_script_swit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.944
4
+ version: 0.1.945
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이