This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/master by this push:
     new 7b9081adf4 Disable test on CI to see if anything else fails
7b9081adf4 is described below

commit 7b9081adf40b9a7275fda166ef26a005196f75d7
Author: Matt Sicker <[email protected]>
AuthorDate: Thu May 26 21:50:51 2022 -0500

    Disable test on CI to see if anything else fails
    
    Signed-off-by: Matt Sicker <[email protected]>
---
 .../apache/logging/log4j/plugins/condition/OnPropertyConditionTest.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/condition/OnPropertyConditionTest.java
 
b/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/condition/OnPropertyConditionTest.java
index ce8db8c734..b6cd9e5b2d 100644
--- 
a/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/condition/OnPropertyConditionTest.java
+++ 
b/log4j-plugins-test/src/test/java/org/apache/logging/log4j/plugins/condition/OnPropertyConditionTest.java
@@ -23,12 +23,14 @@ import org.apache.logging.log4j.plugins.di.DI;
 import org.apache.logging.log4j.util.PropertiesUtil;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
 import org.junit.jupiter.api.parallel.ResourceLock;
 import org.junit.jupiter.api.parallel.Resources;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 
 @ResourceLock(Resources.SYSTEM_PROPERTIES)
+@DisabledIfEnvironmentVariable(named = "CI", matches = "true", disabledReason 
= "https://issues.apache.org/jira/browse/LOG4J2-3521";)
 class OnPropertyConditionTest {
 
     static class OnProperty {

Reply via email to