From 5bb7de37c4031b262a9c9494ee5388a29ac09cbd Mon Sep 17 00:00:00 2001 From: Carlos Natalino <carlos.natalino@chalmers.se> Date: Tue, 22 Nov 2022 18:07:34 +0100 Subject: [PATCH] Modifying the number of KPIs necessary so that the tests are more suitable for being run after other tests. --- src/tests/ofc22/tests/test_functional_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/ofc22/tests/test_functional_bootstrap.py b/src/tests/ofc22/tests/test_functional_bootstrap.py index 8b362b8c3..65b7cece1 100644 --- a/src/tests/ofc22/tests/test_functional_bootstrap.py +++ b/src/tests/ofc22/tests/test_functional_bootstrap.py @@ -200,4 +200,4 @@ def test_scenario_kpis_created(monitoring_client: MonitoringClient): response: KpiDescriptorList = monitoring_client.GetKpiDescriptorList(Empty()) # TODO: replace the magic number `16` below for a formula that adapts to the number # of links and devices - assert len(response.kpi_descriptor_list) == 16 + assert len(response.kpi_descriptor_list) >= 16 -- GitLab