diff --git a/src/test/java/teetime/stage/opad/filter/AnomalyDetectionFilterTest.java b/src/test/java/teetime/stage/opad/filter/AnomalyDetectionFilterTest.java index 18645da0e397876568b7bd6cc103d177947a0ed4..abd2b8e7abb2acc38d564360a24c6c67656fb69d 100644 --- a/src/test/java/teetime/stage/opad/filter/AnomalyDetectionFilterTest.java +++ b/src/test/java/teetime/stage/opad/filter/AnomalyDetectionFilterTest.java @@ -29,7 +29,6 @@ import java.util.Collection; import java.util.List; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import teetime.util.Pair; @@ -46,7 +45,6 @@ public class AnomalyDetectionFilterTest { private StorableDetectionResult input2; private StorableDetectionResult input3; private StorableDetectionResult input4; - private StorableDetectionResult input5; private List<StorableDetectionResult> inputElements; private List<StorableDetectionResult> resultsNormalPort; @@ -75,7 +73,6 @@ public class AnomalyDetectionFilterTest { } @Test - @Ignore("maybe a problem in; org.hamcrest.collection.IsIterableContainingInOrder.contains") public void theOutputPortAnnormalShouldForwardElements() { test(adf).and().send(input3, input4).to(adf.getInputPort()) .and().receive(resultsNormalPort).from(adf.getOutputPortNormal()) @@ -103,6 +100,6 @@ public class AnomalyDetectionFilterTest { .start(); assertThat(exceptions, is(empty())); assertThat(resultsAnnormalPort, is(not(empty()))); - assertThat(resultsAnnormalPort, contains(input3, input4, input5)); + assertThat(resultsAnnormalPort, contains(input3, input4)); } } diff --git a/src/test/resources/logback-test.xml b/src/test/resources/logback-test.xml index ce52ec6ed148f1de3cf0e5e03467c872e78ee8d6..7ec91b2ab2f6e5a8e97455466db0a4d1b3b80274 100644 --- a/src/test/resources/logback-test.xml +++ b/src/test/resources/logback-test.xml @@ -20,6 +20,8 @@ </encoder> </appender> +<!-- <logger name="teetime" level="TRACE" /> --> + <logger name="util" level="INFO" /> <root level="ERROR">