Use a dummy ISO and skip SSH check - Using the dummy.iso to speed up the test - Removing ssh that is not required.
Signed-off-by: Prasanna Santhanam <t...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1df3aad9 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1df3aad9 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1df3aad9 Branch: refs/heads/vmware-storage-motion Commit: 1df3aad9abf4c64d8d64e569389144374a1d4f27 Parents: 322db71 Author: Prasanna Santhanam <t...@apache.org> Authored: Sun May 26 15:25:33 2013 +0530 Committer: Prasanna Santhanam <t...@apache.org> Committed: Sun May 26 15:26:33 2013 +0530 ---------------------------------------------------------------------- test/integration/component/test_stopped_vm.py | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1df3aad9/test/integration/component/test_stopped_vm.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_stopped_vm.py b/test/integration/component/test_stopped_vm.py index f109691..0527b3d 100644 --- a/test/integration/component/test_stopped_vm.py +++ b/test/integration/component/test_stopped_vm.py @@ -78,7 +78,7 @@ class Services: { "displaytext": "Test ISO", "name": "testISO", - "url": "http://iso.linuxquestions.org/download/504/1819/http/gd4.tuwien.ac.at/dsl-4.4.10.iso", + "url": "http://people.apache.org/~tsp/dummy.iso", # Source URL where ISO is located "ostype": 'CentOS 5.3 (64-bit)', "mode": 'HTTP_DOWNLOAD', # Downloading existing ISO @@ -219,10 +219,6 @@ class TestDeployVM(cloudstackTestCase): "Running", "VM should be in Running state after deployment" ) - try: - ssh = self.virtual_machine.get_ssh_client() - except Exception as e: - self.fail("SSH to VM instance failed!") return @attr(tags = ["advanced", "eip", "advancedns", "basic", "sg"]) @@ -274,10 +270,6 @@ class TestDeployVM(cloudstackTestCase): "Running", "VM should be in Running state after deployment" ) - try: - ssh = self.virtual_machine.get_ssh_client() - except Exception as e: - self.fail("SSH to VM instance failed!") return @attr(tags = ["advanced", "eip", "advancedns", "basic", "sg"])