You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integration-tests/bytecode-enhancements-it/src/test/java/org/hibernate/reactive/it/LazyBasicFieldTest.java
+32-17Lines changed: 32 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -98,12 +98,14 @@ public void testFetchBasicFieldAlsoInitializesIt(VertxTestContext context) {
98
98
.find( Crew.class, emily.getId() )
99
99
.call( crew -> session.fetch( crew, Crew_.role )
100
100
.invoke( role -> assertThat( role ).isEqualTo( emily.getRole() ) ) )
101
-
.invoke( () -> sqlTracker.clear() )
102
-
.call( crew -> session.fetch( crew, Crew_.role )
101
+
.invoke( sqlTracker::clear )
102
+
.call( crew -> session
103
+
.fetch( crew, Crew_.role )
103
104
.invoke( role -> {
104
105
// No select query expected, the previous fetch must have initialized the role attribute
0 commit comments