Closed dominicletz closed 3 years ago
Interesting error message in tests:
--- FAIL: TestSecureStaticServer (0.00s) Error: staticserver_test.go:52: Get "https://localhost:1234/.DS_Store": dial tcp [::1]:1234: connect: connection refused FAIL FAIL github.com/diodechain/diode_go_client/staticserver 0.437s ok github.com/diodechain/diode_go_client/util 0.200s FAIL
don't think this is related to this change... any idea @sc0Vu ?
@dominicletz I think the request sent before the go routine execute (the listener bind to port).
I push fix in this branch, add waitTilAddrListened to wait the listener.
Interesting error message in tests:
don't think this is related to this change... any idea @sc0Vu ?