Changed send to be synchronous. Wrote session inner gorountines.

This commit is contained in:
Jay
2026-04-18 21:44:25 -04:00
parent 8d79a002f8
commit e49c7cc021
13 changed files with 589 additions and 407 deletions

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()