This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-rules.git
commit 1af803507dc603f645572e154eacaf9dad67e6b7 Author: Andrei Dulvac <[email protected]> AuthorDate: Tue Jul 12 16:14:20 2016 +0000 SLING-5803 FilterRuleExcludeCategoryIgnoreIfTest fails on Jenkins * Removed flaky test git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1752312 13f79535-47bb-0310-9956-ffa450edef68 --- .../rules/util/filterrule/FilterRuleExcludeCategoryTest.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/test/java/org/apache/sling/testing/junit/rules/util/filterrule/FilterRuleExcludeCategoryTest.java b/src/test/java/org/apache/sling/testing/junit/rules/util/filterrule/FilterRuleExcludeCategoryTest.java index ddc2de4..6d0b47e 100644 --- a/src/test/java/org/apache/sling/testing/junit/rules/util/filterrule/FilterRuleExcludeCategoryTest.java +++ b/src/test/java/org/apache/sling/testing/junit/rules/util/filterrule/FilterRuleExcludeCategoryTest.java @@ -72,17 +72,7 @@ public class FilterRuleExcludeCategoryTest { public void testIgnoreIfPropExixtsandExcludedCategoryNotExists() { Assert.assertTrue("Test should be Run", true); } - - /* - * System prop is set for excluding a category only Setup: a test is annotated with @Category which is excluded - * Result: The test is skipped - */ - @Test - @Category(Issue.class) - public void testExcludedCategoryExists() { - Assume.assumeTrue(System.getProperty(FilterRule.CATEGORY_PROPERTY).equals("Issue")); - Assert.fail("Test should be Ignored"); - } + /* * System prop is set for excluding a category only Setup: a test is annotated with @Category which is not -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
