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 <tsp@apache.org>
This commit is contained in:
Prasanna Santhanam 2013-05-26 15:25:33 +05:30
parent 322db71eed
commit 1df3aad9ab
1 changed files with 1 additions and 9 deletions

View File

@ -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"])