java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/SmartFutureCacheTest.java
... ...
@@ -72,8 +72,8 @@ public class SmartFutureCacheTest {
72 72
sfc.triggerUpdate("humba", /* update interval */ null);
73 73
try {
74 74
// during the first call, expecting exception
75
- sfc.get("humba", /* waitForLatest */ true);
76
- fail("Expected RuntimeException because computeCacheUpdate threw one");
75
+ final String result = sfc.get("humba", /* waitForLatest */ true);
76
+ fail("Expected RuntimeException because computeCacheUpdate threw one; instead, it returned "+result);
77 77
} catch (RuntimeException expected) {
78 78
assertSame(ExecutionException.class, expected.getCause().getClass());
79 79
}