Skip to content

Commit

Permalink
Skip dualstack test on ARM64 (#4153)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsakalozos authored Aug 16, 2023
1 parent bd1dfea commit 40275f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions tests/test-cluster.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import string
import random
import time
import platform
import pytest
import os
import datetime
Expand Down Expand Up @@ -609,6 +610,11 @@ def test_no_cert_reissue_in_nodes(self):
not is_ipv6_configured,
reason="Skipping dual stack tests on VMs which are not lxc based and not dual-stack enabled",
)
@pytest.mark.skipif(
# We do not have IPv6 nginx image for ARM64
platform.machine() != "x86_64",
reason="Skipping dual stack tests on VMs which are not AMD64",
)
def test_dual_stack_cluster(self):
vm = self.VM[0]
# Deploy the test deployment and service
Expand Down
12 changes: 6 additions & 6 deletions tests/test-upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ def test_upgrade(self):
except CalledProcessError:
print("Will not test the metallb addon")

if is_ipv6_configured:
try:
validate_dual_stack()
test_matrix["dual_stack"] = validate_dual_stack
except CalledProcessError:
print("Will not test the dual stack configuration")
if is_ipv6_configured:
try:
validate_dual_stack()
test_matrix["dual_stack"] = validate_dual_stack
except CalledProcessError:
print("Will not test the dual stack configuration")

# Refresh the snap to the target
if upgrade_to.endswith(".snap"):
Expand Down

0 comments on commit 40275f3

Please sign in to comment.