waku/v2/protocol/relay/waku_relay_test.go
Function TestWakuRelayAutoShard
has 73 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestWakuRelayAutoShard(t *testing.T) {
testcTopic := "/toychat/2/huilong/proto"
testcTopic1 := "/toychat/1/huilong/proto"
port, err := tests.FindFreePort(t, "", 5)