Repository: ambari Updated Branches: refs/heads/branch-2.5 003cebcc8 -> c91ad2b37
AMBARI-18442. Python UT fail on trunk (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c91ad2b3 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c91ad2b3 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c91ad2b3 Branch: refs/heads/branch-2.5 Commit: c91ad2b37351696d6553a75a29f9480d9c658087 Parents: 003cebc Author: Andrew Onishuk <aonis...@hortonworks.com> Authored: Thu Sep 22 13:56:14 2016 +0300 Committer: Toader, Sebastian <stoa...@hortonworks.com> Committed: Fri Dec 23 19:06:23 2016 +0100 ---------------------------------------------------------------------- .../src/test/python/stacks/2.3/ATLAS/test_service_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/c91ad2b3/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py b/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py index b9dd736..43ce520 100644 --- a/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py +++ b/ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py @@ -34,7 +34,7 @@ class TestAtlasCheck(RMFTestCase): target = RMFTestCase.TARGET_COMMON_SERVICES ) - self.assertResourceCalled('Execute', 'curl -s -o /dev/null -w "%{http_code}" http://c6401.ambari.apache.org:21000/', + self.assertResourceCalled('Execute', 'curl -k -s -o /dev/null -w "%{http_code}" http://c6401.ambari.apache.org:21000/', user = 'ambari-qa', tries = 5, try_sleep = 10) @@ -54,7 +54,7 @@ class TestAtlasCheck(RMFTestCase): '/usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab ambari...@example.com', user = 'ambari-qa') - self.assertResourceCalled('Execute', 'curl --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt -s -o /dev/null -w "%{http_code}" https://c6401.ambari.apache.org:21443/', + self.assertResourceCalled('Execute', 'curl -k --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt -s -o /dev/null -w "%{http_code}" https://c6401.ambari.apache.org:21443/', user = 'ambari-qa', tries = 5, try_sleep = 10)