mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
test: fix ipv6 network test for xenserver (#6329)
Default ACS Xenserver template, CentOS 5.6, has IPv6 disabled. /etc/modeprobe.conf shows "options ipv6 disable=1" To run IPv6 network test successfully on Xenserver smoketest run get_test_template will be used instead of get_template while deploying guest VM in the IPv6 guest network. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
923a5a4425
commit
23f6db7735
@ -599,6 +599,12 @@ class TestIpv6Network(cloudstackTestCase):
|
||||
cls.zone.id,
|
||||
cls.services["ostype"]
|
||||
)
|
||||
if cls.hypervisor.lower() in ('xenserver'):
|
||||
# Default Xenserver template has IPv6 disabled
|
||||
cls.template = get_test_template(
|
||||
cls.apiclient,
|
||||
cls.zone.id,
|
||||
cls.hypervisor)
|
||||
else:
|
||||
cls.debug("IPv6 is not supported, skipping tests!")
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user