mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-02-14 18:10:00 +00:00
test: check for control-plane label
previously the test was looking for master label. Recent kubernetes uses control-plane lable instead. Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
This commit is contained in:
committed by
Sandro Bonazzola
parent
4357ce5386
commit
026fbd9987
@@ -40,7 +40,7 @@ class NetworkScenariosTest(unittest.TestCase):
|
||||
def test_network_chaos(self):
|
||||
output_id, output_data = ingress_shaping.network_chaos(
|
||||
ingress_shaping.NetworkScenarioConfig(
|
||||
label_selector="node-role.kubernetes.io/master",
|
||||
label_selector="node-role.kubernetes.io/control-plane",
|
||||
instance_count=1,
|
||||
network_params={
|
||||
"latency": "50ms",
|
||||
|
||||
Reference in New Issue
Block a user