summaryrefslogtreecommitdiffstats
path: root/test-apis-ci/sdc-api-tests/chef-repo
diff options
context:
space:
mode:
authormahendrr <mahendra.raghuwanshi@amdocs.com>2019-04-18 10:39:30 +0000
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-04-30 18:51:18 +0000
commitf454e706d5e40bd014eb3a54acdd9fed112e0da5 (patch)
tree88aaf08e00b437b84c8b1ba79f880d82cde516d8 /test-apis-ci/sdc-api-tests/chef-repo
parent20d930a11a1a08722bde76378696e7fae1ba1e5e (diff)
Upgrade SDC to use common cassandra cluster
Change-Id: Ib6a45de3b10cb57466b7b3ef2e18b2fe07639c0f Issue-ID: SDC-2199 Signed-off-by: mahendrr <mahendra.raghuwanshi@amdocs.com>
Diffstat (limited to 'test-apis-ci/sdc-api-tests/chef-repo')
-rw-r--r--test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/recipes/sanityApiTests_2_setup_configuration.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/recipes/sanityApiTests_2_setup_configuration.rb b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/recipes/sanityApiTests_2_setup_configuration.rb
index 595b24a6d1..5fdc55fe18 100644
--- a/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/recipes/sanityApiTests_2_setup_configuration.rb
+++ b/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/recipes/sanityApiTests_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,8 +36,8 @@ 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