https://kotlinlang.org logo
#kotlin-fuel
Title
# kotlin-fuel
i

itnoles

05/25/2019, 3:55 AM
@Derk-Jan Karrenbeld did you figure out why
Copy code
if (!interruptSemaphore.tryAcquire(5, TimeUnit.SECONDS)) {
sometimes failure?
d

Derk-Jan Karrenbeld

05/26/2019, 3:33 PM
Yeah I don't know if it's because the test node is being slow at some points, or if it's an ACTUAL bug
i

itnoles

05/27/2019, 5:12 AM
I think it is best to Ignore that test class until we have a solution to fix it.
"Parameters: permits - the initial number of permits available. This value may be negative, in which case releases must occur before any acquires will be granted." Hmm
d

Derk-Jan Karrenbeld

05/27/2019, 8:53 AM
So perhaps we should use -1
3 Views