cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [08/17] git commit: updated refs/heads/4.8 to a664e03
Date Fri, 21 Oct 2016 04:45:55 GMT
CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded username and password

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d4f0bf1c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d4f0bf1c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d4f0bf1c

Branch: refs/heads/4.8
Commit: d4f0bf1ca92205f1838d68ec022d62450675a669
Parents: 052a9af
Author: Boris <bss.stoyanov@gmail.com>
Authored: Mon Oct 3 13:57:15 2016 +0300
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Wed Oct 5 15:11:00 2016 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_deploy_vgpu_enabled_vm.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d4f0bf1c/test/integration/smoke/test_deploy_vgpu_enabled_vm.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_deploy_vgpu_enabled_vm.py b/test/integration/smoke/test_deploy_vgpu_enabled_vm.py
index c9eb767..9b638a9 100644
--- a/test/integration/smoke/test_deploy_vgpu_enabled_vm.py
+++ b/test/integration/smoke/test_deploy_vgpu_enabled_vm.py
@@ -49,6 +49,7 @@ class TestDeployvGPUenabledVM(cloudstackTestCase):
         testClient = super(TestDeployvGPUenabledVM, self).getClsTestClient()
         self.apiclient = testClient.getApiClient()
         self.testdata = self.testClient.getParsedTestDataConfig()
+        self.hostConfig = self.config.__dict__["zones"][0].__dict__["pods"][0].__dict__["clusters"][0].__dict__["hosts"][0].__dict__
         self._cleanup = []
         self.unsupportedHypervisor = False
         self.noSuitableHost = False
@@ -69,8 +70,8 @@ class TestDeployvGPUenabledVM(cloudstackTestCase):
                     sshClient = SshClient(
                         host=ghost.ipaddress,
                         port=self.testdata['configurableData']['host']["publicport"],
-                        user=self.testdata['configurableData']['host']["username"],
-                        passwd=self.testdata['configurableData']['host']["password"])
+                        user=self.hostConfig['username'],
+                        passwd=self.hostConfig['password'])
                     if ghost.hypervisorversion == "6.2.0":
                         res = sshClient.execute(
                             "xe patch-list uuid=0850b186-4d47-11e3-a720-001b2151a503")


Mime
View raw message