incubator-unomi git commit: UNOMI-118 : Increase timeout on service lookup, problem with timing on CI environment.
Repository: incubator-unomi Updated Branches: refs/heads/master 712f1fc8c -> 6e6b1e951 UNOMI-118 : Increase timeout on service lookup, problem with timing on CI environment. Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/6e6b1e95 Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/6e6b1e95 Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/6e6b1e95 Branch: refs/heads/master Commit: 6e6b1e951d39a22875a8d92c61fd743fa2317991 Parents: 712f1fc Author: Abdelkader Midani Authored: Thu Aug 17 15:39:45 2017 +0200 Committer: Abdelkader Midani Committed: Thu Aug 17 15:39:45 2017 +0200 -- .../test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/6e6b1e95/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java -- diff --git a/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java b/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java index 86dbb89..954a451 100644 --- a/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java +++ b/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java @@ -28,6 +28,7 @@ import org.junit.runner.RunWith; import org.ops4j.pax.exam.junit.PaxExam; import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy; import org.ops4j.pax.exam.spi.reactors.PerSuite; +import org.ops4j.pax.exam.util.Filter; import javax.inject.Inject; import java.util.*; @@ -44,11 +45,11 @@ import static org.junit.Assert.*; public class ConditionEvaluatorIT extends BaseIT { protected ConditionBuilder builder; -@Inject +@Inject @Filter(timeout = 6) protected PersistenceService persistenceService; protected Item item; protected Date lastVisit; -@Inject +@Inject @Filter(timeout = 6) private DefinitionsService definitionsService; protected boolean eval(Condition c) {
[21/35] incubator-unomi git commit: UNOMI-118 : Increase timeout on service lookup, problem with timing on CI environment.
UNOMI-118 : Increase timeout on service lookup, problem with timing on CI environment. Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/6e6b1e95 Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/6e6b1e95 Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/6e6b1e95 Branch: refs/heads/feature-UNOMI-117 Commit: 6e6b1e951d39a22875a8d92c61fd743fa2317991 Parents: 712f1fc Author: Abdelkader Midani Authored: Thu Aug 17 15:39:45 2017 +0200 Committer: Abdelkader Midani Committed: Thu Aug 17 15:39:45 2017 +0200 -- .../test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/6e6b1e95/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java -- diff --git a/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java b/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java index 86dbb89..954a451 100644 --- a/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java +++ b/itests/src/test/java/org/apache/unomi/itests/ConditionEvaluatorIT.java @@ -28,6 +28,7 @@ import org.junit.runner.RunWith; import org.ops4j.pax.exam.junit.PaxExam; import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy; import org.ops4j.pax.exam.spi.reactors.PerSuite; +import org.ops4j.pax.exam.util.Filter; import javax.inject.Inject; import java.util.*; @@ -44,11 +45,11 @@ import static org.junit.Assert.*; public class ConditionEvaluatorIT extends BaseIT { protected ConditionBuilder builder; -@Inject +@Inject @Filter(timeout = 6) protected PersistenceService persistenceService; protected Item item; protected Date lastVisit; -@Inject +@Inject @Filter(timeout = 6) private DefinitionsService definitionsService; protected boolean eval(Condition c) {