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.
1 parent 07af89b commit df40571Copy full SHA for df40571
hibernate-reactive-core/src/test/java/org/hibernate/reactive/MultithreadedInsertionTest.java
@@ -162,10 +162,12 @@ public void start(Promise<Void> startPromise) {
162
.whenComplete( (o, throwable) -> {
163
endLatch.reached();
164
if ( throwable != null ) {
165
+ prettyOut( throwable.getMessage() );
166
startPromise.fail( throwable );
167
}
168
else {
169
if ( !initialThreadName.equals( Thread.currentThread().getName() ) ) {
170
+ prettyOut( "Thread switch detected. Expecting " + initialThreadName + ", actual " + Thread.currentThread().getName() );
171
startPromise.fail( "Thread switch detected!" );
172
173
0 commit comments