moto 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reporting/listeners/webui.rb +6 -2
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b6c96253d3998567fba32a47a76c3423f48f060
|
4
|
+
data.tar.gz: 44387d99086c820a7eb5fb205f5966020bfbf4ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 103244c5e1a8634251f0962d4f48b029da7ad605efc739b18eeb38c989f536093cc050c4b160e03af908a3043fc8e6df4b99deae3974277129c823806e36d7d1
|
7
|
+
data.tar.gz: 6a7ccaa1e1e50ea90b6680220a965f15bb91320c6abbd6489540eaf3ac975df93de5b0bcf012e91dd7ff760df74c53810e20c5c4487e12190ca11901eaa5def6
|
@@ -9,7 +9,6 @@ module Moto
|
|
9
9
|
|
10
10
|
REST_MAX_TRIES = 1
|
11
11
|
REST_TIMEOUT = 15
|
12
|
-
REST_RESULTS_AT_ONCE = 500
|
13
12
|
|
14
13
|
def initialize(run_params)
|
15
14
|
super
|
@@ -94,11 +93,13 @@ module Moto
|
|
94
93
|
# we're just duplicating the same data
|
95
94
|
@tests = @tests.values
|
96
95
|
|
96
|
+
start_time = Time.now.to_f
|
97
|
+
|
97
98
|
while !@tests.empty?
|
98
99
|
partial_run_data = {
|
99
100
|
path: @mwui_path,
|
100
101
|
tester_id: @assignee,
|
101
|
-
tests: @tests.shift(
|
102
|
+
tests: @tests.shift(config[:results_in_request])
|
102
103
|
}.to_json
|
103
104
|
|
104
105
|
response = try {
|
@@ -110,6 +111,9 @@ module Moto
|
|
110
111
|
}
|
111
112
|
|
112
113
|
response = JSON.parse(response, symbolize_names: true)
|
114
|
+
|
115
|
+
pp Time.now.to_f - start_time
|
116
|
+
|
113
117
|
response
|
114
118
|
end
|
115
119
|
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bartek Wilczek
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-
|
14
|
+
date: 2018-02-02 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|