You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2011/11/24 04:16:15 UTC

svn commit: r1205715 - in /libcloud/trunk/test: common/test_cloudstack.py loadbalancer/test_cloudstack.py

Author: tomaz
Date: Thu Nov 24 03:16:14 2011
New Revision: 1205715

URL: http://svn.apache.org/viewvc?rev=1205715&view=rev
Log:
Decrease poll_interval for all the drivers which use PollingConnection class.

Modified:
    libcloud/trunk/test/common/test_cloudstack.py
    libcloud/trunk/test/loadbalancer/test_cloudstack.py

Modified: libcloud/trunk/test/common/test_cloudstack.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/common/test_cloudstack.py?rev=1205715&r1=1205714&r2=1205715&view=diff
==============================================================================
--- libcloud/trunk/test/common/test_cloudstack.py (original)
+++ libcloud/trunk/test/common/test_cloudstack.py Thu Nov 24 03:16:14 2011
@@ -35,6 +35,7 @@ class CloudStackCommonTest(unittest.Test
         CloudStackConnection.conn_classes = (None, CloudStackMockHttp)
         self.connection = CloudStackConnection('apikey', 'secret',
                                                host=CloudStackMockDriver.host)
+        self.connection.poll_interval = 0.0
         self.driver = self.connection.driver = CloudStackMockDriver()
 
     def test_sync_request_bad_response(self):

Modified: libcloud/trunk/test/loadbalancer/test_cloudstack.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/loadbalancer/test_cloudstack.py?rev=1205715&r1=1205714&r2=1205715&view=diff
==============================================================================
--- libcloud/trunk/test/loadbalancer/test_cloudstack.py (original)
+++ libcloud/trunk/test/loadbalancer/test_cloudstack.py Thu Nov 24 03:16:14 2011
@@ -30,6 +30,7 @@ class CloudStackLBTests(unittest.TestCas
         self.driver.type = -1
         self.driver.name = 'CloudStack'
         CloudStackMockHttp.fixture_tag = 'default'
+        self.driver.connection.poll_interval = 0.0
 
     def test_list_balancers(self):
         balancers = self.driver.list_balancers()