summaryrefslogtreecommitdiffstats
path: root/jrt/tests/com/yahoo/jrt/TimeoutTest.java
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-09-05 23:17:52 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-09-05 23:17:52 +0200
commitd016c310084928c8481c72f5ed5c2cb316308bc7 (patch)
tree474313d5e6d505040c34b31636ced98487779a93 /jrt/tests/com/yahoo/jrt/TimeoutTest.java
parentffc04e71743404f903a60e83e2f24fe527e71b0c (diff)
Add the timeout in the message too.
Diffstat (limited to 'jrt/tests/com/yahoo/jrt/TimeoutTest.java')
-rw-r--r--jrt/tests/com/yahoo/jrt/TimeoutTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/jrt/tests/com/yahoo/jrt/TimeoutTest.java b/jrt/tests/com/yahoo/jrt/TimeoutTest.java
index 363ac8cde59..ce9bb954d74 100644
--- a/jrt/tests/com/yahoo/jrt/TimeoutTest.java
+++ b/jrt/tests/com/yahoo/jrt/TimeoutTest.java
@@ -56,6 +56,7 @@ public class TimeoutTest extends junit.framework.TestCase {
assertTrue(req.isError());
assertEquals(ErrorCode.TIMEOUT, req.errorCode());
+ assertEquals("Request timed out after 0.1 seconds.", req.errorMessage());
assertEquals(0, req.returnValues().size());
}