I am using io.temporal.testing for unit testing temporal workflows.
When debugging the temporal unit tests, I always run into this exception.
IllegalStateException(“Operation allowed only while eventLoop is running”)
However without the debugger, I don’t see this exception at all.
This is the stacktrace of the exception.
I have already tried using env variable TEMPORAL_DEBUG=true as suggested in this doc but still running into this exception.
I suspect if the thread is blocked because of which this exception is thrown ?