elasticsearch-test-runner 0.15.0 → 0.15.1

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: 2f1a68e71ff468b2803f7196ec372bbb64519335c886220eded85925917006a9
4
- data.tar.gz: d4a039160642905c738025ec977df3f8d5b8d33d34180ab3c75709c1cf308bf2
3
+ metadata.gz: 14c0f93fb966a0ea3fefd43a4451a3f135846488d67447d2653d93054099291b
4
+ data.tar.gz: 86d315e8e7e3755e8d08afbd2d0f21ca5a242afb8be8e733a2be9ff23b68de1a
5
5
  SHA512:
6
- metadata.gz: 0d446246da04e24d355283e7a7b102b737346376c80e94ec899a98e1d8c209487469bf7b2b028ebfa7893015f739413a33b2ebb3d8c3a3bb8494851532c470f7
7
- data.tar.gz: fd59fa83bec9baae0ff4037c156a28e819eacd068e0ba67ea35a7dbe0696b22874925c0befcbbd27aaa930dbd72ad1798062e596ccaa6db1eac37a528d795535
6
+ metadata.gz: df2f57bf9b7970f0f7a76a264c34456eaaf012242ab0ce77e308985e2ff503593811c79b2b2f7073870f4ae611d0ac33c2f09ad5738cbf0183dc371fa185a991
7
+ data.tar.gz: a06c2d6f00641a71b505116ebd60f9f6b72eef3a6732a6b260ec338ee3c8ffae7afa0865beeda5461e41afe4f80569612c2f7b67d2c70bd268f5c5a7186354bb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.15.1] - 2026-01-30
4
+
5
+ - Rescues invalid byte sequence for search_mvt test.
6
+
3
7
  ## [0.15.0] - 2026-01-29
4
8
 
5
9
  - Bugfix: refactors response display for boolean responses (ping, exists) when in debug mode.
@@ -104,6 +104,7 @@ module Elasticsearch
104
104
  end
105
105
 
106
106
  def print_debug_message(method, params)
107
+ begin
107
108
  message = <<~MSG
108
109
  Test File: #{$test_file}
109
110
  Action: #{method}
@@ -117,6 +118,12 @@ module Elasticsearch
117
118
  "Response body: #{@response.body}"
118
119
  end
119
120
  print TTY::Box.frame(message, width: BOX_WIDTH, title: { top_left: '[DEBUG]'})
121
+ rescue ArgumentError => e
122
+ if e.message == 'invalid byte sequence in UTF-8'
123
+ @response.body.encode!('UTF-8', 'binary', invalid: :replace, undef: :replace, replace: '')
124
+ print_debug_message(method, params)
125
+ end
126
+ end
120
127
  end
121
128
 
122
129
  private
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Elasticsearch
21
21
  module Tests
22
- VERSION = '0.15.0'
22
+ VERSION = '0.15.1'
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-test-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic Client Library Maintainers