diff --git a/patrole_tempest_plugin/tests/api/network/test_segments_rbac.py b/patrole_tempest_plugin/tests/api/network/test_segments_rbac.py index 8b0061d1..1e6d7f11 100644 --- a/patrole_tempest_plugin/tests/api/network/test_segments_rbac.py +++ b/patrole_tempest_plugin/tests/api/network/test_segments_rbac.py @@ -46,7 +46,7 @@ def get_free_segmentation_id(cls): # With 2+ concurrency, tests that ran in the same moment may fail due # to usage conflict. To prevent it we select segmentation to start # randomly. - segmentation_id = random.randint(1000, 5000) + segmentation_id = random.randint(1000, 5000) # nosec while segmentation_id in segmentation_ids: segmentation_id += 1