You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2023/07/03 21:29:18 UTC
[directory-fortress-core] branch master updated: don't run the audit log tests if its disabled
This is an automated email from the ASF dual-hosted git repository.
smckinney pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-fortress-core.git
The following commit(s) were added to refs/heads/master by this push:
new 43822270 don't run the audit log tests if its disabled
43822270 is described below
commit 438222703fdbc4367882de9db56d7aecb0826ca7
Author: Shawn McKinney <sm...@symas.com>
AuthorDate: Mon Jul 3 16:29:10 2023 -0500
don't run the audit log tests if its disabled
---
.../java/org/apache/directory/fortress/core/impl/FortressJUnitTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/directory/fortress/core/impl/FortressJUnitTest.java b/src/test/java/org/apache/directory/fortress/core/impl/FortressJUnitTest.java
index 102b3627..3ab7c62d 100755
--- a/src/test/java/org/apache/directory/fortress/core/impl/FortressJUnitTest.java
+++ b/src/test/java/org/apache/directory/fortress/core/impl/FortressJUnitTest.java
@@ -336,7 +336,7 @@ public class FortressJUnitTest extends TestCase
/* 5. Audit Checks */
/***********************************************************/
//suite.addTest(new AuditMgrImplTest("testSearchAuthNInvalid"));
- if ( Config.getInstance().isOpenldap() )
+ if ( Config.getInstance().isOpenldap() && ! Config.getInstance().isAuditDisabled() )
{
// These tests reliant on OpenLDAP's slapo access log overlay:
suite.addTest( new AuditMgrImplTest( "testSearchBinds" ) );