From c8c6422f9980299886e3b03d08a532ad5a39caf2 Mon Sep 17 00:00:00 2001 From: Michael Mokry Date: Mon, 2 Apr 2018 00:25:06 -0500 Subject: Optimization Policy CSIT tests This CSIT tests requires an entry in the database. I modified the sql script in the PE packages. That commit should be merged in order for this to pass I had the wrong variable name for ${policy_name} in the template. I fixed this but I am not able to test locally so I cant be 100% sure this will resolve the issue I added fixes for the 2 failures. I think the createPolicy failed due to an invalid model but I see the model being inserted in the pap log. The only thing I can think of is that it does not like the camel case for hpaPolicy and the all caps for CSIT version so I just made these all lower case in the request template Change-Id: I59fe578c57ab927fe356071a5b4a28bd987fafd7 Issue-ID: POLICY-639 Signed-off-by: Michael Mokry --- test/csit/scripts/policy/script1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/csit/scripts') diff --git a/test/csit/scripts/policy/script1.sh b/test/csit/scripts/policy/script1.sh index a09fa5f24..0db34f080 100755 --- a/test/csit/scripts/policy/script1.sh +++ b/test/csit/scripts/policy/script1.sh @@ -123,7 +123,7 @@ echo ${NEXUS_IP} MARIADB_IP=`docker inspect --format '{{ .NetworkSettings.Networks.docker_default.IPAddress}}' mariadb` echo ${MARIADB_IP} -sleep 1m +sleep 5m netstat -tnl -- cgit 1.2.3-korg