Hi. I am stuck in a weird problem, I have method t...
# arrow
s
Hi. I am stuck in a weird problem, I have method that uses semaphore with
parSequence
and I have written a test for it. the method works when I execute the app, the test testing this method also passes when intellij runs it, but when I run the test via gradle, it hangs, and eventually times out (i am using
unsafeRunTimed
) to make it blocking. Only thing i have found so far is at some point when
parSequence
runs it runs into this :
arrow.core.Eval arrow.typeclasses.Applicative.apEval(arrow.Kind, arrow.core.Eval)
from
IORunLoop
file I dont get this error in gradle logs ofcourse as
unsafeRunTimed
has a type option, and I am throwing there to abrupt execution. So I am not sure if its a problem or not. Nonetheless, it doesn’t work via gradle. I can’t figure out why. Any insights/suggestions would be helpful. I cannot share the code unfortunately.