Wrote session dial tests. Use new helpers.

This commit is contained in:
Jay
2026-04-19 09:58:41 -04:00
parent 6998ccf701
commit 45b1a31cbb
9 changed files with 175 additions and 91 deletions
+2 -2
View File
@@ -200,9 +200,9 @@ func TestAcquireSocketContextCancellation(t *testing.T) {
}()
// wait for first two dials to complete, then cancel during sleep
assert.Eventually(t, func() bool {
honeybeetest.Eventually(t, func() bool {
return dialCount.Load() > 1
}, honeybeetest.TestTimeout, honeybeetest.TestTick)
}, "expected dials")
cancel()
select {