This is an automated email from the ASF dual-hosted git repository. dahn pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push: new 588287af17f test: use normal user for createing networks, vpcs (#6988) 588287af17f is described below commit 588287af17f083504c9ea9c58ae53de89deb7f19 Author: Abhishek Kumar <abhishek.mr...@gmail.com> AuthorDate: Mon Dec 19 15:49:56 2022 +0530 test: use normal user for createing networks, vpcs (#6988) When using admin=True in account creation with domain it creates a domain admin. It would be better to run tests as normal user. Signed-off-by: Abhishek Kumar <abhishek.mr...@gmail.com> --- test/integration/component/test_network_ipv6.py | 2 +- test/integration/component/test_vpc_ipv6.py | 2 +- test/integration/smoke/test_network_ipv6.py | 2 +- test/integration/smoke/test_vpc_ipv6.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration/component/test_network_ipv6.py b/test/integration/component/test_network_ipv6.py index 30734d73d95..1e2c53879fd 100644 --- a/test/integration/component/test_network_ipv6.py +++ b/test/integration/component/test_network_ipv6.py @@ -135,7 +135,7 @@ class TestIpv6Network(cloudstackTestCase): cls.account = Account.create( cls.apiclient, cls.services["account"], - admin=True, + admin=False, domainid=cls.domain.id ) cls._cleanup.append(cls.account) diff --git a/test/integration/component/test_vpc_ipv6.py b/test/integration/component/test_vpc_ipv6.py index fda46ea2378..bb44af936af 100644 --- a/test/integration/component/test_vpc_ipv6.py +++ b/test/integration/component/test_vpc_ipv6.py @@ -152,7 +152,7 @@ class TestIpv6Vpc(cloudstackTestCase): cls.account = Account.create( cls.apiclient, cls.services["account"], - admin=True, + admin=False, domainid=cls.domain.id ) cls._cleanup.append(cls.account) diff --git a/test/integration/smoke/test_network_ipv6.py b/test/integration/smoke/test_network_ipv6.py index 41b7c85dea0..720f14e64da 100644 --- a/test/integration/smoke/test_network_ipv6.py +++ b/test/integration/smoke/test_network_ipv6.py @@ -135,7 +135,7 @@ class TestIpv6Network(cloudstackTestCase): cls.account = Account.create( cls.apiclient, cls.services["account"], - admin=True, + admin=False, domainid=cls.domain.id ) cls._cleanup.append(cls.account) diff --git a/test/integration/smoke/test_vpc_ipv6.py b/test/integration/smoke/test_vpc_ipv6.py index e00c578809c..ce4d466acf0 100644 --- a/test/integration/smoke/test_vpc_ipv6.py +++ b/test/integration/smoke/test_vpc_ipv6.py @@ -152,7 +152,7 @@ class TestIpv6Vpc(cloudstackTestCase): cls.account = Account.create( cls.apiclient, cls.services["account"], - admin=True, + admin=False, domainid=cls.domain.id ) cls._cleanup.append(cls.account)