//go:build release // +build release // The code in here is comprehensive as an integration // test and is long, hence is only run before releases. package client import ( "bytes" "context" "errors" "net" "regexp" "testing" "time" "github.com/stretchr/testify/require" ) func TestWSClientReconnectWithJitter(t *testing.T) { const numClients = 8 const maxReconnectAttempts = 3 const maxSleepTime = time.Duration(((1<