summaryrefslogtreecommitdiffstats
path: root/test-apis-ci/sdc-api-tests/chef-repo/cookbooks
diff options
context:
space:
mode:
authorMahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>2019-03-21 04:19:23 +0000
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-04-10 16:48:13 +0000
commit00a6a4d66b0d22d530314816b4b5697fbc975e37 (patch)
tree38f2713fb1f392f2d4b7318f20c85979fffc9d92 /test-apis-ci/sdc-api-tests/chef-repo/cookbooks
parentc39136c8094f3866070627fd461b5871fea9faa3 (diff)
Upgrade SDC to use common cassandra cluster
Issue-ID: SDC-2199 Change-Id: I139f38f3f3d968b775c9962bfe3ad6d13ea7f678 Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
Diffstat (limited to 'test-apis-ci/sdc-api-tests/chef-repo/cookbooks')
-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 7321155232..a50c4dbc4f 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,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