You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2022/05/29 08:05:56 UTC
[logging-log4j2] 03/03: Disable test
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 91a8167c65dbc8fa089f78c1cab9144cc881b8cd
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Sun May 29 01:05:41 2022 -0700
Disable test
---
.../logging/log4j/plugins/condition/OnPropertyConditionTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 b6cd9e5b2d..893ef158ed 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
@@ -22,15 +22,15 @@ import org.apache.logging.log4j.plugins.Ordered;
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.Disabled;
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")
+@Disabled //"https://issues.apache.org/jira/browse/LOG4J2-3521"
class OnPropertyConditionTest {
static class OnProperty {