Changed send to be synchronous. Wrote session inner gorountines.

This commit is contained in:
Jay
2026-04-18 21:44:25 -04:00
parent 2b6afbbf94
commit 29020369e1
13 changed files with 589 additions and 407 deletions
+2 -2
View File
@@ -199,9 +199,9 @@ func TestAcquireSocketContextCancellation(t *testing.T) {
done <- err
}()
// wait for first dial to complete, then cancel during sleep
// wait for first two dials to complete, then cancel during sleep
assert.Eventually(t, func() bool {
return dialCount.Load() >= 1
return dialCount.Load() > 1
}, honeybeetest.TestTimeout, honeybeetest.TestTick)
cancel()