groonga-query-log 1.1.6 → 1.1.7
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 +9 -0
- data/lib/groonga/query-log/command/run-regression-test.rb +2 -13
- data/lib/groonga/query-log/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: 81ed0f64853381ecc6b44cd0629c518fde5415be
|
4
|
+
data.tar.gz: b56280e244903481705c07f4aa04e813abc9d5b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae8889205045127a1ab1fa830881368eb5ade70f152996f9c0a7fa962f6c42ccccadecbc19b5bdfdf6f1a243644bbdd2ab2f2882cd5cef23f1001a371e8ff97a
|
7
|
+
data.tar.gz: 2966029224f47969001f9a222550dc5d6447626cc9d2e24f05d94b19c37c05315954b084568c6415f409855c0fb7726385723a1f8dd196390c89a2c9ddd3615a
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 1.1.7: 2015-09-04
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* groonga-query-log-run-regression-test: Supported Windows.
|
8
|
+
* groonga-query-log-run-regression-test: Supported `logical_select`,
|
9
|
+
`logical_range_filter` and `logical_count` as the test target
|
10
|
+
commands.
|
11
|
+
|
3
12
|
## 1.1.6: 2015-08-19
|
4
13
|
|
5
14
|
### Improvements
|
@@ -305,7 +305,6 @@ module Groonga
|
|
305
305
|
@n_clients = options[:n_clients] || 1
|
306
306
|
@options = options
|
307
307
|
@n_ready_waits = 2
|
308
|
-
@clone_pids = []
|
309
308
|
end
|
310
309
|
|
311
310
|
def run
|
@@ -331,10 +330,6 @@ module Groonga
|
|
331
330
|
@n_ready_waits -= 1
|
332
331
|
return true unless @n_ready_waits.zero?
|
333
332
|
|
334
|
-
@clone_pids.each do |pid|
|
335
|
-
Process.waitpid(pid)
|
336
|
-
end
|
337
|
-
|
338
333
|
query_log_paths.each do |query_log_path|
|
339
334
|
log_path = test_log_path(query_log_path)
|
340
335
|
if @options[:skip_finished_queries] and log_path.exist?
|
@@ -343,15 +338,10 @@ module Groonga
|
|
343
338
|
else
|
344
339
|
puts("Running test against query log...: #{query_log_path}")
|
345
340
|
end
|
346
|
-
pid = fork do
|
347
|
-
verify_server(log_path, query_log_path)
|
348
|
-
exit!
|
349
|
-
end
|
350
341
|
begin
|
351
|
-
|
342
|
+
verify_server(log_path, query_log_path)
|
352
343
|
rescue Interrupt
|
353
|
-
|
354
|
-
Process.waitpid(pid)
|
344
|
+
puts("Interrupt: #{query_log_path}")
|
355
345
|
end
|
356
346
|
end
|
357
347
|
|
@@ -376,7 +366,6 @@ module Groonga
|
|
376
366
|
"--groonga2-host=#{@new.host}",
|
377
367
|
"--groonga2-port=#{@new.port}",
|
378
368
|
"--groonga2-protocol=http",
|
379
|
-
"--target-command-name=select",
|
380
369
|
"--output", test_log_path.to_s,
|
381
370
|
]
|
382
371
|
command_line << "--no-care-order" if @options[:care_order] == false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groonga-query-log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: groonga-command-parser
|