From 9a3bb2f21ea500d41dc4a8557aff71b79cbde328 Mon Sep 17 00:00:00 2001
From: Simon Schwitanski <simon.schwitanski@rwth-aachen.de>
Date: Mon, 7 Apr 2025 09:42:50 +0200
Subject: [PATCH] Fix collective local concurrency generator to output more
 than one test case when level > 1

---
 scripts/errors/coll/LocalConcurrency.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/errors/coll/LocalConcurrency.py b/scripts/errors/coll/LocalConcurrency.py
index ee9a9bd2..9bd7ccb5 100644
--- a/scripts/errors/coll/LocalConcurrency.py
+++ b/scripts/errors/coll/LocalConcurrency.py
@@ -9,7 +9,7 @@ from Infrastructure.TemplateFactory import get_collective_template
 from Infrastructure.Variables import *
 
 
-class InvalidRankErrorColl(ErrorGenerator):
+class LocalConcurrencyErrorColl(ErrorGenerator):
     nbfunc_to_use = ["mpi_iallreduce", "mpi_ialltoall", "mpi_ibcast", "mpi_ireduce", "mpi_iscatter", "mpi_igather",
                      "mpi_iscan"]
 
@@ -33,5 +33,5 @@ class InvalidRankErrorColl(ErrorGenerator):
 
             yield tm
 
-            if generate_level >= BASIC_TEST_LEVEL:
+            if generate_level <= BASIC_TEST_LEVEL:
                 return
-- 
GitLab