Test hang forever #26125
Unanswered
PavloMyrotiuk
asked this question in
Q&A
Test hang forever
#26125
Replies: 1 comment
-
@edeandrea Can you please take a look here. What am I missing? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Looks like I'm doing something wrong but can't understand how to fix it.
I have an issue with running the repository test. It hangs and never finishes, though if running in development mode everything works as expected.
Reactive repository:
Issue is with last two lines of code:
.execute(() -> testedInstance.insertIgnoreFruits(fruits)) // that hangs forever
.assertEquals(() -> session.createQuery("select count(*) from Fruit f").getSingleResult(), 3L); //this line never executed
Beta Was this translation helpful? Give feedback.
All reactions