From 26ad7026f09a43bc60ee18c4b74e977f9f59db9f Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 12 Sep 2018 15:40:10 +0100 Subject: Fix build fails Apex end to end tests often fail because the tests are not tuned correctly for Jenkins. The JRuby test needs a delay to allow the first test to completely clear dowm The volume of events sent in the Kafka tests is reduced from 100 to 10 The dom4j version is also changed back to 1.6.1 because 1.6 has the same security issues. Issue-ID: POLICY-954 Change-Id: Id38bf9fe526942870181bfd9c0762f0a471c0c02 Signed-off-by: liamfallon --- .../policy/apex/apps/uservice/test/adapt/kafka/TestKafka2Kafka.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/integration/integration-uservice-test/src/test') diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/apps/uservice/test/adapt/kafka/TestKafka2Kafka.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/apps/uservice/test/adapt/kafka/TestKafka2Kafka.java index 9aa9ac931..b17457516 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/apps/uservice/test/adapt/kafka/TestKafka2Kafka.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/apps/uservice/test/adapt/kafka/TestKafka2Kafka.java @@ -55,7 +55,7 @@ public class TestKafka2Kafka { private static final long MAX_TEST_LENGTH = 20000; - private static final int EVENT_COUNT = 100; + private static final int EVENT_COUNT = 10; private static final int EVENT_INTERVAL = 20; private static final String ZKHOST = "127.0.0.1"; -- cgit 1.2.3-korg