grntest 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +10 -0
- data/lib/grntest/executors/base-executor.rb +11 -1
- data/lib/grntest/executors/standard-io-executor.rb +2 -0
- data/lib/grntest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b52bcc8e04c96ff7cbda13f71af169b3c76fcc89fe048f5906db096f92410742
|
4
|
+
data.tar.gz: 96796b1ffe639b555606acdc3181a1e0fd90cd82edc6b6e914e31c378e886ae7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ad0556248d06ee80940677b7e1e7419e931d06981b47875d7a363637c9a0c6d387c08daafc09fe9c2b3cbbba2e6ea75b4402a6b0209dbc4433dbba652befa3f
|
7
|
+
data.tar.gz: 5a46df9665ae1aca3201b1867792e30892caca2e5a93d0ea7cb84f29e779596e80f3bfcb7056780e9f0fe0fbce5cc35abac41fce3ec2fdd0c40f03376096e897
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.5.2: 2021-08-05
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* `stdio`: Improved may be slow command processing.
|
8
|
+
|
9
|
+
* `copy-path`: Handled error.
|
10
|
+
|
11
|
+
* `generate-series`: Improved multi threading support.
|
12
|
+
|
3
13
|
## 1.5.1: 2021-07-16
|
4
14
|
|
5
15
|
### Improvements
|
@@ -180,7 +180,14 @@ module Grntest
|
|
180
180
|
end
|
181
181
|
source = resolve_path(Pathname(expand_variables(source)))
|
182
182
|
destination = resolve_path(Pathname(expand_variables(destination)))
|
183
|
-
|
183
|
+
begin
|
184
|
+
FileUtils.cp_r(source.to_s, destination.to_s)
|
185
|
+
rescue SystemCallError => error
|
186
|
+
log_input(line)
|
187
|
+
details = "#{error.class}: #{error.message}"
|
188
|
+
log_error("#|e| [copy-path] failed to copy: #{details}")
|
189
|
+
@context.error
|
190
|
+
end
|
184
191
|
end
|
185
192
|
|
186
193
|
def timeout_value(key, line, input, default)
|
@@ -313,7 +320,10 @@ module Grntest
|
|
313
320
|
end
|
314
321
|
record << "\n"
|
315
322
|
record << evaluator.evaluate(i).to_json
|
323
|
+
before = Time.now
|
316
324
|
parser << record
|
325
|
+
elapsed = Time.now - before
|
326
|
+
Thread.pass if elapsed > 1.0
|
317
327
|
end
|
318
328
|
parser << "\n]\n"
|
319
329
|
end
|
@@ -65,10 +65,12 @@ module Grntest
|
|
65
65
|
|
66
66
|
MAY_SLOW_COMMANDS = [
|
67
67
|
"column_create",
|
68
|
+
"delete",
|
68
69
|
"load",
|
69
70
|
"logical_table_remove",
|
70
71
|
"plugin_register",
|
71
72
|
"register",
|
73
|
+
"wal_recover",
|
72
74
|
]
|
73
75
|
def may_slow_command?(command)
|
74
76
|
MAY_SLOW_COMMANDS.include?(command.name)
|
data/lib/grntest/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grntest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-08-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: diff-lcs
|