You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2013/07/04 11:10:04 UTC

git commit: updated refs/heads/master to 248bea8

Updated Branches:
  refs/heads/master bb6cd764c -> 248bea8b2


ipaddress is included

Signed-off-by: Prasanna Santhanam <ts...@apache.org>


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

Branch: refs/heads/master
Commit: 248bea8b27b2ac0dbe00d7f12c72f0858f83746c
Parents: bb6cd76
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Thu Jul 4 14:39:11 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Thu Jul 4 14:39:54 2013 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_loadbalance.py | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/248bea8b/test/integration/smoke/test_loadbalance.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_loadbalance.py b/test/integration/smoke/test_loadbalance.py
index 97bce10..8dd96e5 100644
--- a/test/integration/smoke/test_loadbalance.py
+++ b/test/integration/smoke/test_loadbalance.py
@@ -527,11 +527,11 @@ class TestLoadBalance(cloudstackTestCase):
         lb_rule.assign(self.apiclient, [self.vm_1, self.vm_2])
 
         hostnames = []
-        self.try_ssh(self.non_src_nat_ip, hostnames)
-        self.try_ssh(self.non_src_nat_ip, hostnames)
-        self.try_ssh(self.non_src_nat_ip, hostnames)
-        self.try_ssh(self.non_src_nat_ip, hostnames)
-        self.try_ssh(self.non_src_nat_ip, hostnames)
+        self.try_ssh(self.non_src_nat_ip.ipaddress, hostnames)
+        self.try_ssh(self.non_src_nat_ip.ipaddress, hostnames)
+        self.try_ssh(self.non_src_nat_ip.ipaddress, hostnames)
+        self.try_ssh(self.non_src_nat_ip.ipaddress, hostnames)
+        self.try_ssh(self.non_src_nat_ip.ipaddress, hostnames)
 
         self.debug("Hostnames: %s" % str(hostnames))
         self.assertIn(
@@ -556,7 +556,7 @@ class TestLoadBalance(cloudstackTestCase):
                                              self.non_src_nat_ip.ipaddress,
                                              self.vm_1.id,
                                              ))
-            self.try_ssh(self.non_src_nat_ip, hostnames)
+            self.try_ssh(self.non_src_nat_ip.ipaddress, hostnames)
 
             self.assertIn(
                           self.vm_1.name,
@@ -571,11 +571,11 @@ class TestLoadBalance(cloudstackTestCase):
 
 #        # Making hostnames list empty
         hostnames[:] = []
-        self.try_ssh(self.non_src_nat_ip, hostnames)
-        self.try_ssh(self.non_src_nat_ip, hostnames)
-        self.try_ssh(self.non_src_nat_ip, hostnames)
-        self.try_ssh(self.non_src_nat_ip, hostnames)
-        self.try_ssh(self.non_src_nat_ip, hostnames)
+        self.try_ssh(self.non_src_nat_ip.ipaddress, hostnames)
+        self.try_ssh(self.non_src_nat_ip.ipaddress, hostnames)
+        self.try_ssh(self.non_src_nat_ip.ipaddress, hostnames)
+        self.try_ssh(self.non_src_nat_ip.ipaddress, hostnames)
+        self.try_ssh(self.non_src_nat_ip.ipaddress, hostnames)
         self.debug("Hostnames: %s" % str(hostnames))
         self.assertIn(
                   self.vm_1.name,