We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ad2b0c + aeeb961 commit 5851bb7Copy full SHA for 5851bb7
tck/src/main/java/org/reactivestreams/tck/TestEnvironment.java
@@ -69,7 +69,7 @@ public void flop(String msg) {
69
// keeps passed in throwable as asyncError instead of creating a new AssertionError
70
public void flop(Throwable thr, String msg) {
71
try {
72
- fail(msg);
+ fail(msg, thr);
73
} catch (Throwable t) {
74
asyncErrors.add(thr);
75
}
@@ -160,7 +160,7 @@ public void verifyNoAsyncErrors() {
160
if (e instanceof AssertionError) {
161
throw (AssertionError) e;
162
} else {
163
- fail("Async error during test execution: " + e);
+ fail("Async error during test execution: " + e.getMessage(), e);
164
165
166
0 commit comments