summaryrefslogtreecommitdiffstats
path: root/container-core/src
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-03-06 11:43:40 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-03-06 11:43:40 +0100
commit2c2d79f472dc40cbc59403f7c88dc661bf5220f0 (patch)
tree8b26d5c66b96679f722bee52ec2589535f22feb1 /container-core/src
parent7e20d3ab7fd1b3d7bc2afcb0b9bd82097c6a6290 (diff)
Revert the test.
Diffstat (limited to 'container-core/src')
-rw-r--r--container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java b/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java
index b54757cac50..173307af635 100644
--- a/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java
+++ b/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java
@@ -200,7 +200,7 @@ public abstract class AsynchronousSectionedRenderer<RESPONSE extends Response> e
private void shutdown(ThreadPoolExecutor executor) {
executor.shutdown();
try {
- if (executor.awaitTermination(30, TimeUnit.SECONDS))
+ if ( ! executor.awaitTermination(30, TimeUnit.SECONDS))
throw new RuntimeException("Rendering thread pool did not shutdown in 30 seconds");
}
catch (InterruptedException e) {