From f454e706d5e40bd014eb3a54acdd9fed112e0da5 Mon Sep 17 00:00:00 2001 From: mahendrr Date: Thu, 18 Apr 2019 10:39:30 +0000 Subject: Upgrade SDC to use common cassandra cluster Change-Id: Ib6a45de3b10cb57466b7b3ef2e18b2fe07639c0f Issue-ID: SDC-2199 Signed-off-by: mahendrr --- .../sdc-ui-tests/recipes/sanityUiTests_2_setup_configuration.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ui-ci/sdc-ui-tests') diff --git a/ui-ci/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/recipes/sanityUiTests_2_setup_configuration.rb b/ui-ci/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/recipes/sanityUiTests_2_setup_configuration.rb index 8bef97c7b5..1d4c6d6f6c 100644 --- a/ui-ci/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/recipes/sanityUiTests_2_setup_configuration.rb +++ b/ui-ci/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/recipes/sanityUiTests_2_setup_configuration.rb @@ -26,7 +26,6 @@ template "sdc-yaml-config" do }) end -replication_factor=1 template "titan.properties" do path "/#{tests_base}/conf/titan.properties" source "BE-titan.properties.erb" @@ -37,7 +36,7 @@ template "titan.properties" do :CASSANDRA_IP => node['Nodes']['CS'].join(",").gsub(/[|]/,''), :CASSANDRA_PWD => node['cassandra'][:cassandra_password], :CASSANDRA_USR => node['cassandra'][:cassandra_user], - :rep_factor => replication_factor, - :DC_NAME => node['cassandra']['datacenter_name']+node.chef_environment + :rep_factor => node['cassandra']['replication_factor'], + :DC_NAME => node['cassandra']['datacenter_name'] }) end -- cgit 1.2.3-korg