Skip to content

Commit

Permalink
[Test Runner] Skips knn_search test
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Dec 12, 2024
1 parent 33d0c88 commit a030610
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion elasticsearch-api/spec/yaml-test-runner/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,6 @@
current_branch = `git rev-parse --abbrev-ref HEAD`.strip
branch = current_branch.match(/[0-9]\.[0-9]+/)&.[](0) || ENV['ES_YAML_TESTS_BRANCH'] || nil
Elasticsearch::Tests::Downloader::run(tests_path, branch)
Elasticsearch::Tests::TestRunner.new(CLIENT, tests_path, logger).run(ENV['SINGLE_TEST'] || [])
runner = Elasticsearch::Tests::TestRunner.new(CLIENT, tests_path, logger)
runner.add_tests_to_skip('knn_search.yml') # TODO: Extract into file
runner.run(ENV['SINGLE_TEST'] || [])

0 comments on commit a030610

Please sign in to comment.