diff --git a/Formula/elasticsearch-full.rb b/Formula/elasticsearch-full.rb index 5b6f0af..f6560b8 100644 --- a/Formula/elasticsearch-full.rb +++ b/Formula/elasticsearch-full.rb @@ -117,7 +117,7 @@ def plist pid = testpath/"pid" begin - system "#{bin}/elasticsearch", "-d", "-p", pid, "-Epath.data=#{testpath}/data", "-Epath.logs=#{testpath}/logs", "-Enode.name=test-cli", "-Ehttp.port=#{port}" + system "#{bin}/elasticsearch", "-d", "-p", pid, "-Expack.security.enabled=false", "-Epath.data=#{testpath}/data", "-Epath.logs=#{testpath}/logs", "-Enode.name=test-cli", "-Ehttp.port=#{port}" sleep 30 system "curl", "-XGET", "localhost:#{port}/" output = shell_output("curl -s -XGET localhost:#{port}/_cat/nodes") @@ -140,7 +140,7 @@ def plist pid = testpath/"pid" begin - system "#{bin}/elasticsearch", "-d", "-p", pid + system "#{bin}/elasticsearch", "-d", "-p", pid, "-Expack.security.enabled=false" sleep 30 system "curl", "-XGET", "localhost:#{port}/" output = shell_output("curl -s -XGET localhost:#{port}/_cat/nodes")