Skip to content

Commit

Permalink
test: limit temp dhcp6 changes to < NOBLE (#4942)
Browse files Browse the repository at this point in the history
#4474 landed in Noble, so this block isn't needed.
  • Loading branch information
TheRealFalcon authored and blackboxsw committed Feb 27, 2024
1 parent 21ba7d4 commit 1b35548
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/integration_tests/test_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
from tests.integration_tests.clouds import IntegrationCloud
from tests.integration_tests.conftest import get_validated_source
from tests.integration_tests.integration_settings import PLATFORM
from tests.integration_tests.releases import CURRENT_RELEASE, FOCAL, IS_UBUNTU
from tests.integration_tests.releases import (
CURRENT_RELEASE,
FOCAL,
IS_UBUNTU,
NOBLE,
)
from tests.integration_tests.util import verify_clean_log

LOG = logging.getLogger("integration_testing.test_upgrade")
Expand Down Expand Up @@ -138,7 +143,7 @@ def test_clean_boot_of_upgraded_package(session_cloud: IntegrationCloud):
assert post_json["v1"]["datasource"].startswith(
"DataSourceAzure"
)
if PLATFORM in ["gce", "qemu"]:
if PLATFORM in ["gce", "qemu"] and CURRENT_RELEASE < NOBLE:
# GCE regenerates network config per boot AND
# GCE uses fallback config AND
# #4474 changed fallback configuration.
Expand Down

0 comments on commit 1b35548

Please sign in to comment.