We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bc34be commit c8a6ec4Copy full SHA for c8a6ec4
elasticsearch-xpack/spec/spec_helper.rb
@@ -60,7 +60,7 @@
60
61
YAML_FILES_DIRECTORY = "#{File.expand_path(File.dirname('..'), '..')}" +
62
"/tmp/elasticsearch/x-pack/plugin/src/test/resources/rest-api-spec/test"
63
-SINGLE_TEST = if ENV['SINGLE_TEST']
+SINGLE_TEST = if ENV['SINGLE_TEST'] && !ENV['SINGLE_TEST'].empty?
64
["#{File.expand_path(File.dirname('..'), '..')}" +
65
"/tmp/elasticsearch/x-pack/plugin/src/test/resources/rest-api-spec/test/#{ENV['SINGLE_TEST']}"]
66
end
0 commit comments