Disable scale tests on clusterd

Disable scale tests on clusterd until they are more stable.

Change-Id: I02ac5a375b04f5b5589b8a44161061682ba8029c
This commit is contained in:
Guillaume Boutry 2024-01-31 21:18:36 +01:00
parent 21607c9e14
commit a4582d130a
No known key found for this signature in database
GPG Key ID: E95E3326872E55DE

View File

@ -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.