From 1be7a4005522a55419de3ceba6169b694f05d3f0 Mon Sep 17 00:00:00 2001 From: Hugo Haakseth Date: Tue, 20 Feb 2024 21:52:21 +0100 Subject: [PATCH] Remove duplicate parameter declarations in acceptance tests --- spec/helpers/acceptance/tests/package_url_shared_examples.rb | 2 -- spec/helpers/acceptance/tests/slm_policy_shared_examples.rb | 2 -- .../acceptance/tests/snapshot_repository_shared_examples.rb | 2 -- 3 files changed, 6 deletions(-) diff --git a/spec/helpers/acceptance/tests/package_url_shared_examples.rb b/spec/helpers/acceptance/tests/package_url_shared_examples.rb index 841701a19..10911981b 100644 --- a/spec/helpers/acceptance/tests/package_url_shared_examples.rb +++ b/spec/helpers/acceptance/tests/package_url_shared_examples.rb @@ -10,8 +10,6 @@ <<-MANIFEST api_timeout => 60, config => { - 'cluster.name' => '#{v[:cluster_name]}', - 'http.bind_host' => '0.0.0.0', #{es_config.map { |k, v| " '#{k}' => '#{v}'," }.join("\n")} }, jvm_options => [ diff --git a/spec/helpers/acceptance/tests/slm_policy_shared_examples.rb b/spec/helpers/acceptance/tests/slm_policy_shared_examples.rb index 0c9ec71ed..c9ffe06ac 100644 --- a/spec/helpers/acceptance/tests/slm_policy_shared_examples.rb +++ b/spec/helpers/acceptance/tests/slm_policy_shared_examples.rb @@ -99,8 +99,6 @@ <<-MANIFEST api_timeout => 60, config => { - 'cluster.name' => '#{v[:cluster_name]}', - 'http.bind_host' => '0.0.0.0', #{es_config.map { |k, v| " '#{k}' => '#{v}'," }.join("\n")} }, jvm_options => [ diff --git a/spec/helpers/acceptance/tests/snapshot_repository_shared_examples.rb b/spec/helpers/acceptance/tests/snapshot_repository_shared_examples.rb index 1dbbd73a9..a0d38fa8e 100644 --- a/spec/helpers/acceptance/tests/snapshot_repository_shared_examples.rb +++ b/spec/helpers/acceptance/tests/snapshot_repository_shared_examples.rb @@ -29,8 +29,6 @@ <<-MANIFEST api_timeout => 60, config => { - 'cluster.name' => '#{v[:cluster_name]}', - 'http.bind_host' => '0.0.0.0', #{es_config.map { |k, v| " '#{k}' => '#{v}'," }.join("\n")} }, jvm_options => [