summaryrefslogtreecommitdiffstats
path: root/test-apis-ci/sdc-api-tests
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2019-04-14 12:41:54 +0300
committerSonsino, Ofir (os0695) <os0695@intl.att.com>2019-04-14 12:41:54 +0300
commitb08309847c24bd3c060839a335a20cb3f750ed30 (patch)
treea4d87f251d14dabb769987f3e5b3214861d2fc8b /test-apis-ci/sdc-api-tests
parent962b8610448d6cec8f12045e09b4adac3aefbf4c (diff)
Revert "Upgrade SDC to use common cassandra cluster"
This reverts commit 00a6a4d66b0d22d530314816b4b5697fbc975e37. Change-Id: I308844556aea66e91064d9067e3ba54179a0bb46 Issue-ID: SDC-2199 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'test-apis-ci/sdc-api-tests')
-rw-r--r--test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/recipes/sanityApiTests_2_setup_configuration.rb5
1 files changed, 3 insertions, 2 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 a50c4dbc4f..7321155232 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,6 +26,7 @@ template "sdc-yaml-config" do
})
end
+replication_factor=1
template "titan.properties" do
path "/#{tests_base}/conf/titan.properties"
source "BE-titan.properties.erb"
@@ -36,7 +37,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 => node['cassandra']['replication_factor'],
- :DC_NAME => node['cassandra']['datacenter_name']
+ :rep_factor => replication_factor,
+ :DC_NAME => node['cassandra']['datacenter_name']+node.chef_environment
})
end