Removed wg from worker start. Fixed various races.

This commit is contained in:
Jay
2026-04-20 17:54:03 -04:00
parent aaf8571b9f
commit 2c7b22b3d9
8 changed files with 72 additions and 43 deletions
+4 -2
View File
@@ -99,8 +99,10 @@ func TestRunDialer(t *testing.T) {
}
}, "expected new connection")
// connection was only dialed once
assert.Equal(t, int32(1), dialCount.Load())
// number of dials < number of dial requests
honeybeetest.Never(t, func() bool {
return dialCount.Load() >= 5
}, "expected fewer dials than requests")
// dial channel still writable
select {