From a4582d130a1cdde7a72de6a2e316e86fb02709f5 Mon Sep 17 00:00:00 2001 From: Guillaume Boutry Date: Wed, 31 Jan 2024 21:18:36 +0100 Subject: [PATCH] Disable scale tests on clusterd Disable scale tests on clusterd until they are more stable. Change-Id: I02ac5a375b04f5b5589b8a44161061682ba8029c --- tests/local/zaza/sunbeam/charm_tests/clusterd/tests.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/local/zaza/sunbeam/charm_tests/clusterd/tests.py b/tests/local/zaza/sunbeam/charm_tests/clusterd/tests.py index c294219b..ac63c8bf 100644 --- a/tests/local/zaza/sunbeam/charm_tests/clusterd/tests.py +++ b/tests/local/zaza/sunbeam/charm_tests/clusterd/tests.py @@ -16,6 +16,7 @@ import json import logging import subprocess +import unittest from random import shuffle from typing import Tuple @@ -86,6 +87,7 @@ class ClusterdTest(test_utils.BaseCharmTest): """Scale up.""" self._add_2_units() + @unittest.skip("Skip until scale down stable") def test_201_scale_down_multiple_units(self): """Scale down 2 units.""" units = self._get_units() @@ -99,10 +101,13 @@ class ClusterdTest(test_utils.BaseCharmTest): for unit in units: model.block_until_unit_wl_status(unit, "active", timeout=60 * 5) + @unittest.skip("Skip until scale down stable") def test_202_scale_up_again(self): """Scale back to 3.""" self._add_2_units() + + @unittest.skip("Skip until scale down stable") def test_203_scale_down_to_2_units(self): """Scale down to 2 units for voter/spare test.""" leader = model.get_lead_unit_name(self.application_name) @@ -146,6 +151,7 @@ class ClusterdTest(test_utils.BaseCharmTest): return _tenacity_handler() + @unittest.skip("Skip until scale down stable") def test_204_scale_down_voter(self): """Scale down the voter member.