Closed hwh33 closed 3 years ago
Resolved by https://github.com/getlantern/tlsmasq/pull/26.
The TestPostHandshakeInjection
output I was seeing may have been a red herring. The real issue may have been this goroutine. Whatever the case, test ./ptlshs -count=1000
was consistently timing out on v0.4.3
. It has passed every time I've tried on master, both locally and in CI.
To reproduce:
go test ./ptlshs -count=1000 -timeout 10m
TestPostHandshakeInjection
has been blocked for 9m.Not sure why CI isn't catching this. Ideally, we would figure that out as part of resolving this issue.
This may be an actual logical bug as opposed to a bug in the test itself. It may have been introduced recently as I don't remember seeing this previously. It is definitely happening on
v0.4.2
. For some reason, this does not seem to happen when running the offending test directly (go test ./ptlshs -count=1000 -run TestPostHandshakeInjection -timeout 10m
).