Skip to content

Commit dae41cd

Browse files
jsvdlogstashmachine
authored andcommitted
fix line used to determine ES is up (#16349)
(cherry picked from commit 90f303e)
1 parent 46b996c commit dae41cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x-pack/qa/integration/support/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def elasticsearch(options = {})
4848
# Launch in the background and wait for /started/ stdout
4949
cmd = "bin/elasticsearch #{settings_arguments.join(' ')}"
5050
puts "Running elasticsearch: #{cmd}"
51-
response = Belzebuth.run(cmd, { :directory => get_elasticsearch_path, :wait_condition => /license.*valid/, :timeout => 15 * 60 })
51+
response = Belzebuth.run(cmd, { :directory => get_elasticsearch_path, :wait_condition => /ClusterStateLicenseService.*license.*valid/, :timeout => 15 * 60 })
5252
unless response.successful?
5353
raise "Could not start Elasticsearch, response: #{response}"
5454
end

0 commit comments

Comments
 (0)