aboutsummaryrefslogtreecommitdiffstats
path: root/ui-ci
diff options
context:
space:
mode:
Diffstat (limited to 'ui-ci')
-rw-r--r--ui-ci/sdc-ui-tests/chef-repo/cookbooks/sdc-ui-tests/recipes/sanityUiTests_2_setup_configuration.rb5
1 files changed, 3 insertions, 2 deletions
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 1d4c6d6f6c..8bef97c7b5 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,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