From efde8c92a56f7bb834271807775eecf1b4648a37 Mon Sep 17 00:00:00 2001 From: aktoboy Date: Thu, 20 Jun 2024 12:57:49 +0530 Subject: [PATCH] Added fix for only running active tests --- apps/testing/src/main/java/com/akto/testing/TestExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/testing/src/main/java/com/akto/testing/TestExecutor.java b/apps/testing/src/main/java/com/akto/testing/TestExecutor.java index 741f5696ed..a45f1d8457 100644 --- a/apps/testing/src/main/java/com/akto/testing/TestExecutor.java +++ b/apps/testing/src/main/java/com/akto/testing/TestExecutor.java @@ -150,7 +150,7 @@ public void apiWiseInit(TestingRun testingRun, ObjectId summaryId, boolean debug List testRoles = sampleMessageStore.fetchTestRoles(); AuthMechanism authMechanism = authMechanismStore.getAuthMechanism();; - Map testConfigMap = YamlTemplateDao.instance.fetchTestConfigMap(false, false); + Map testConfigMap = YamlTemplateDao.instance.fetchTestConfigMap(false, true); List customAuthTypes = CustomAuthTypeDao.instance.findAll(CustomAuthType.ACTIVE,true); TestingUtil testingUtil = new TestingUtil(authMechanism, sampleMessageStore, testRoles, testingRun.getUserEmail(), customAuthTypes);