summaryrefslogtreecommitdiffstats
path: root/test-apis-ci/sdc-api-tests/chef-repo/cookbooks
diff options
context:
space:
mode:
authoraribeiro <anderson.ribeiro@est.tech>2020-02-04 17:00:34 +0000
committerYuli Shlosberg <ys9693@att.com>2020-02-05 07:44:50 +0000
commit9fb5a1e5b8ff970dd811ea7bf03ad6fcbe30fe70 (patch)
tree08b5a995d657d6fb8eb2d6f03baf6c1fd03874e5 /test-apis-ci/sdc-api-tests/chef-repo/cookbooks
parent97a799ecfdec2d281b5868eb847b35d0eec63673 (diff)
Fix for sdc-api-tests docker
Issue-ID: SDC-2756 Change-Id: I87e319a71931881fdef5c5095c79df3a13f4515a Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
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.rb4
1 files changed, 2 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 55ab07fca5..c47d1dc95c 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
@@ -21,7 +21,7 @@ template "sdc-yaml-config" do
:ConfigurationFile => "#{tests_base}/conf/configuration.yaml",
:errorConfigurationFile => "#{tests_base}/conf/error-configuration.yaml",
:CASSANDRA_IP => node['Nodes']['CS'][0],
- :CASSANDRA_PORT => node['cassandra'][[:cassandra_port],
+ :CASSANDRA_PORT => node['cassandra'][:cassandra_port],
:CASSANDRA_PWD => node['cassandra'][:cassandra_password],
:CASSANDRA_USR => node['cassandra'][:cassandra_user]
})
@@ -35,7 +35,7 @@ template "janusgraph.properties" do
mode "0755"
variables({
:CASSANDRA_IP => node['Nodes']['CS'].join(",").gsub(/[|]/,''),
- :CASSANDRA_PORT => node['cassandra'][[:cassandra_port],
+ :CASSANDRA_PORT => node['cassandra'][:cassandra_port],
:CASSANDRA_PWD => node['cassandra'][:cassandra_password],
:CASSANDRA_USR => node['cassandra'][:cassandra_user],
:rep_factor => node['cassandra']['replication_factor'],