testPerformance never completes in release mode: a connection pool with a maximum of two connections is created but then three connections are requested and waited on:
let connA = try! pool.requestConnection().wait()
let connB = try! pool.requestConnection().wait()
let connC = try! pool.requestConnection().wait()
Either connA or connB need to be released for the connC future to be resolved.
testPerformance
never completes in release mode: a connection pool with a maximum of two connections is created but then three connections are requested and waited on:Either
connA
orconnB
need to be released for theconnC
future to be resolved.Steps to reproduce
testPerformance
in release modeExpected behavior
testPerformance
completes.Actual behavior
testPerformance
doesn't complete.Environment