groonga-query-log 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 137657847fe22ae9bd436e1a2a99467c93cc7134cde90f710451f1d6c205c083
4
- data.tar.gz: 68455fe3c51c12a8b1ee1a5106d99ff86a52b14eebbd2077b2284523fe560498
3
+ metadata.gz: dc465fa277253d4a2f6f4b42ddc9553393572f6d6ad03496b17d308036f90f51
4
+ data.tar.gz: 1d458256bf29ef9d84100e66a535563d85a240f823e5dfd524bb45122bc1fa55
5
5
  SHA512:
6
- metadata.gz: baa54b40acddcb3c6b2fe46a4a7566eb402dc4f1be8327200832614ee3274e6de49116b644bf149c7d87dcc58f920e61ddb81a5c0486c4648164bc6a3503d4f9
7
- data.tar.gz: 747d1d1fc84cbeabf2445882e7d70274c6b94994787ea056150c9a18f661992436a29acded2d19cb0a152a2159ef0d7c29dca9e0b8690f82564873f31f99ef35
6
+ metadata.gz: 1954617ef0c708f19af1a204bfd26a71cf7799204237f7be72a00c42c0aafacfc177f9785ed2f456108cad47dd3d2756cd9608eddb80780fa67a6e142e85e673
7
+ data.tar.gz: 31df2208d65ffde3cb0b25dbcac5290f080f85310d747e3e1cd89e4a11f78a50dab071ebee27048e4c6d6bf3c59da7281180657c8ecd0e2adf2495f3ac348fba
@@ -1,5 +1,14 @@
1
1
  # News
2
2
 
3
+ ## 1.7.1: 2020-06-01
4
+
5
+ ### Fixes
6
+
7
+ * `server-verifier`: Fixed a bug that performance verification with
8
+ `--stop-onlfailre` doesn't work.
9
+
10
+ * `run-regression-test`: Fixed a bug that failure is ignored.
11
+
3
12
  ## 1.7.0: 2020-05-31
4
13
 
5
14
  ### Fixes
@@ -790,6 +790,7 @@ module GroongaQueryLog
790
790
  begin
791
791
  ready_queue.push(true)
792
792
  wait_queue.pop
793
+ true
793
794
  ensure
794
795
  @old.shutdown
795
796
  end
@@ -799,6 +800,7 @@ module GroongaQueryLog
799
800
  begin
800
801
  ready_queue.push(true)
801
802
  wait_queue.pop
803
+ true
802
804
  ensure
803
805
  @new.shutdown
804
806
  end
@@ -806,9 +808,10 @@ module GroongaQueryLog
806
808
  test_thread = Thread.new do
807
809
  ready_queue.pop
808
810
  ready_queue.pop
809
- run_test
811
+ success = run_test
810
812
  wait_queue.push(true)
811
813
  wait_queue.push(true)
814
+ success
812
815
  end
813
816
 
814
817
  old_thread_success = old_thread.value
@@ -824,7 +827,7 @@ module GroongaQueryLog
824
827
 
825
828
  private
826
829
  def run_test
827
- same = true
830
+ success = true
828
831
  query_log_paths.each do |query_log_path|
829
832
  log_path = test_log_path(query_log_path)
830
833
  if @options[:skip_finished_queries] and log_path.exist?
@@ -849,14 +852,14 @@ module GroongaQueryLog
849
852
  callback = nil
850
853
  end
851
854
  unless verify_server(log_path, query_log_path, &callback)
852
- same = false
855
+ success = false
853
856
  break if @stop_on_failure
854
857
  end
855
858
  rescue Interrupt
856
859
  puts("Interrupt: #{query_log_path}")
857
860
  end
858
861
  end
859
- same
862
+ success
860
863
  end
861
864
 
862
865
  def verify_server(test_log_path, query_log_path, &callback)
@@ -211,6 +211,8 @@ module GroongaQueryLog
211
211
 
212
212
  n_tries = 4
213
213
  n_tries.times do
214
+ return if stop?
215
+
214
216
  responses1 << groonga1_client.execute(command)
215
217
  responses2 << groonga2_client.execute(command)
216
218
  verifier = PerformanceVerifier.new(command,
@@ -15,5 +15,5 @@
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
  module GroongaQueryLog
18
- VERSION = "1.7.0"
18
+ VERSION = "1.7.1"
19
19
  end
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.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-30 00:00:00.000000000 Z
11
+ date: 2020-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: charty