summaryrefslogtreecommitdiffstats
path: root/documentapi/pom.xml
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahoo-inc.com>2017-05-18 15:06:49 +0200
committerTor Brede Vekterli <vekterli@yahoo-inc.com>2017-05-18 15:06:49 +0200
commit832ee21d59d3ae4415b845aa39020313567f5d22 (patch)
tree772d9bfe6919abeae2e3be00f5498ad72df6142f /documentapi/pom.xml
parent480270b558640b0bc5f4d63f64cb0b36a85a85fc (diff)
Don't swallow document policy creation exceptions
Prevents an ErrorPolicy from being cached for the policy when a policy (likely transiently) cannot be created. Caching an ErrorPolicy will fail all ops towards the policy until the process has been restarted.
Diffstat (limited to 'documentapi/pom.xml')
-rw-r--r--documentapi/pom.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/documentapi/pom.xml b/documentapi/pom.xml
index 17fd0cc5505..41552fb33e1 100644
--- a/documentapi/pom.xml
+++ b/documentapi/pom.xml
@@ -43,6 +43,11 @@
<version>${project.version}</version>
</dependency>
<dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>com.yahoo.vespa</groupId>
<artifactId>config</artifactId>
<version>${project.version}</version>