You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by sh...@apache.org on 2024/04/30 14:13:31 UTC

(cloudstack) branch feature-purgedb-debug updated (783b1ee5bea -> 3a4460da6fa)

This is an automated email from the ASF dual-hosted git repository.

shwstppr pushed a change to branch feature-purgedb-debug
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


    from 783b1ee5bea possible fix
     new db02a6f6fcb test
     new 3a4460da6fa fix

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 test/integration/smoke/test_purge_expunged_vms.py | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)


(cloudstack) 01/02: test

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shwstppr pushed a commit to branch feature-purgedb-debug
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit db02a6f6fcb46e57a349137618456365fd69d915
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Tue Apr 30 18:55:11 2024 +0530

    test
    
    Signed-off-by: Abhishek Kumar <ab...@gmail.com>
---
 test/integration/smoke/test_purge_expunged_vms.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/test/integration/smoke/test_purge_expunged_vms.py b/test/integration/smoke/test_purge_expunged_vms.py
index e0e6d58b71c..20ed02cce0f 100644
--- a/test/integration/smoke/test_purge_expunged_vms.py
+++ b/test/integration/smoke/test_purge_expunged_vms.py
@@ -53,22 +53,22 @@ class TestPurgeExpungedVms(cloudstackTestCase):
 
     @classmethod
     def setUpClass(cls):
-        testClient = super(TestPurgeExpungedVms, cls).getClsTestClient()
-        cls.apiclient = testClient.getApiClient()
-        cls.services = testClient.getParsedTestDataConfig()
-        cls.dbConnection = testClient.getDbConnection()
+        cls.testClient = super(TestPurgeExpungedVms, cls).getClsTestClient()
+        cls.apiclient = cls.testClient.getApiClient()
+        cls.services = cls.testClient.getParsedTestDataConfig()
+        cls.dbConnection = cls.testClient.getDbConnection()
 
         # Get Zone, Domain and templates
         cls.domain = get_domain(cls.apiclient)
-        print(testClient.getZoneForTests())
-        cls.zone = get_zone(cls.apiclient)
+        print(cls.testClient.getZoneForTests())
+        cls.zone = get_zone(cls.apiclient, cls.testClient.getZoneForTests())
         print(cls.zone)
         cls.services['mode'] = cls.zone.networktype
 
         cls.mgtSvrDetails = cls.config.__dict__["mgtSvr"][0].__dict__
 
 
-        cls.hypervisor = testClient.getHypervisorInfo().lower()
+        cls.hypervisor = cls.testClient.getHypervisorInfo().lower()
         cls.hypervisorIsSimulator = False
         if cls.hypervisor == 'simulator':
             cls.hypervisorIsSimulator = True


(cloudstack) 02/02: fix

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shwstppr pushed a commit to branch feature-purgedb-debug
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 3a4460da6faedd6962a855938044053fc2347c92
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Tue Apr 30 18:56:16 2024 +0530

    fix
    
    Signed-off-by: Abhishek Kumar <ab...@gmail.com>
---
 test/integration/smoke/test_purge_expunged_vms.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/test/integration/smoke/test_purge_expunged_vms.py b/test/integration/smoke/test_purge_expunged_vms.py
index 20ed02cce0f..6580936a86c 100644
--- a/test/integration/smoke/test_purge_expunged_vms.py
+++ b/test/integration/smoke/test_purge_expunged_vms.py
@@ -60,9 +60,7 @@ class TestPurgeExpungedVms(cloudstackTestCase):
 
         # Get Zone, Domain and templates
         cls.domain = get_domain(cls.apiclient)
-        print(cls.testClient.getZoneForTests())
         cls.zone = get_zone(cls.apiclient, cls.testClient.getZoneForTests())
-        print(cls.zone)
         cls.services['mode'] = cls.zone.networktype
 
         cls.mgtSvrDetails = cls.config.__dict__["mgtSvr"][0].__dict__