From 87273cb5365bce8091ea510dabf4651ecde990c6 Mon Sep 17 00:00:00 2001 From: Nelson Tavares de Sousa <ntd@informatik.uni-kiel.de> Date: Fri, 6 Feb 2015 11:16:41 +0100 Subject: [PATCH] example for endless wait bug --- src/main/java/teetime/framework/AnalysisException.java | 1 + src/test/java/teetime/framework/ExceptionTestConfiguration.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/teetime/framework/AnalysisException.java b/src/main/java/teetime/framework/AnalysisException.java index bb3b71250..9004335d2 100644 --- a/src/main/java/teetime/framework/AnalysisException.java +++ b/src/main/java/teetime/framework/AnalysisException.java @@ -8,6 +8,7 @@ import teetime.util.Pair; * Represents a exception, which is thrown by an analysis, if any problems occured within its execution. * A collection of thrown exceptions within the analysis can be retrieved with {@link #getThrownExceptions()}. * + * @since 1.1 */ public class AnalysisException extends RuntimeException { diff --git a/src/test/java/teetime/framework/ExceptionTestConfiguration.java b/src/test/java/teetime/framework/ExceptionTestConfiguration.java index f7f2a76ca..33867af51 100644 --- a/src/test/java/teetime/framework/ExceptionTestConfiguration.java +++ b/src/test/java/teetime/framework/ExceptionTestConfiguration.java @@ -11,7 +11,7 @@ public class ExceptionTestConfiguration extends AnalysisConfiguration { ExceptionTestProducerStage third = new ExceptionTestProducerStage(); PIPE_FACTORY_REGISTRY.getPipeFactory(ThreadCommunication.INTER, PipeOrdering.QUEUE_BASED, false) - .create(first.getOutputPort(), second.getInputPort()); + .create(first.getOutputPort(), second.getInputPort(), 4); // this.addThreadableStage(new ExceptionTestStage()); this.addThreadableStage(first); -- GitLab