summaryrefslogtreecommitdiffstats
path: root/configserver
diff options
context:
space:
mode:
authorHarald Musum <musum@yahoo-inc.com>2017-02-17 12:03:03 +0100
committerHarald Musum <musum@yahoo-inc.com>2017-02-17 12:03:03 +0100
commit97d7847c45a845c57845dc9b371e2c2c31670da6 (patch)
treea383c39e8b46020e20ad856c01e20c5a55f6fddd /configserver
parenta11c33c23a9dcca8ba351094098999d3478ac32e (diff)
Update exception message to match actual message
Diffstat (limited to 'configserver')
-rw-r--r--configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/SessionPrepareHandlerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/SessionPrepareHandlerTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/SessionPrepareHandlerTest.java
index e213aff9f2c..f10a7ffd502 100644
--- a/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/SessionPrepareHandlerTest.java
+++ b/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/SessionPrepareHandlerTest.java
@@ -313,7 +313,7 @@ public class SessionPrepareHandlerTest extends SessionHandlerTest {
@Test
public void test_application_lock_failure() throws InterruptedException, IOException {
- String message = "Exception acquiring lock '/provision/v1/locks/foo/bar/default': Timed out after waiting PT1M";
+ String message = "Timed out after waiting PT1M to acquire lock '/provision/v1/locks/foo/bar/default'";
SessionThrowingException session = new SessionThrowingException(new ApplicationLockException(new UncheckedTimeoutException(message)));
localRepo.addSession(session);
HttpResponse response = createHandler(addTestTenant())