elasticsearch-test-runner 0.18.1 → 0.18.2

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: e191fda5bc8ae6d1a8a2caf7dbddb5bc5ba88497642189df885279ff105857d5
4
- data.tar.gz: 7501d4de443dcc06acdfce6ca10183c7063a7ee9ce03716afdaf850f503fc0eb
3
+ metadata.gz: 7b2a29eb379b8bc1f6d31d93add7befd179122d2dc08d19312b7cda9ebc36d95
4
+ data.tar.gz: 47989e967e79cc64a901d8d2e3a8e2b206134c20b48c532040cc6f79cd4586fb
5
5
  SHA512:
6
- metadata.gz: cac180733a7b86a23f825de3ee420cbaf1f824d06de388aeaa1bb2a43b8d924403b1616210fddc3f9382287bb1e3a8fc8431a798684b7b6e14fb6960f7869f5f
7
- data.tar.gz: 53127146f544d725e3105a4930368fe5b449bb47858e7a3ad2418ca41b05e99bd62551a93dd1ed022e311234fa886fd99042330d3fd8a6fc0664fa6bf31385fa
6
+ metadata.gz: 55eb04dafbb6347cce1f1125fd90e35d2fed0db9549152f39a0e6b608160822aa6ea4c69ac41ed5e49f3e9a7dd9addd38c8a998409f6fc72ac2193046ad4b0ef
7
+ data.tar.gz: c1c83a61546a0fcb49127b5bc5a98af5196a21ce61481445632f22b880525b46445fd4d0796fec54d125a03929d7f86e5f7e078b22dfb2bd8764d1cc54f1b4d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.18.2] - 2026-03-06
4
+
5
+ - Fixes skipping multiple tests.
6
+ - Fixes running tests in a directory.
7
+
3
8
  ## [0.18.1] - 2026-03-06
4
9
 
5
10
  - Fixes skipping tests.
@@ -99,14 +99,15 @@ module Elasticsearch
99
99
  elsif test_files.include?('yml')
100
100
  return ["#{@path}/tests/#{test_files}"]
101
101
  else
102
- "#{@path}/#{test_files}/*.yml"
102
+ "#{@path}/tests/#{test_files}/*.yml"
103
103
  end
104
104
  tests = Dir.glob(tests_path)
105
- tests.each do |test|
106
- @tests_to_skip.each do |skip|
107
- tests.delete(test) if test.match?(skip)
108
- end
105
+ # Find the full paths of tests to be skipped and delete them from the tests to run:
106
+ full_paths = @tests_to_skip.map do |skip|
107
+ tests.find { |t| t.match?(skip) }
109
108
  end
109
+ full_paths.each { |a| tests.delete(a) }
110
+
110
111
  tests
111
112
  end
112
113
 
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Elasticsearch
21
21
  module Tests
22
- VERSION = '0.18.1'
22
+ VERSION = '0.18.2'
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.18.1
4
+ version: 0.18.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic Client Library Maintainers