rpc: fix subscription buffer documentation and test (#19747)
This PR updates a comment about the maximum client subscription buffer to reflect changes made previously, and fixes a test that wouldn't fail when wantError == true but execution did not return an error.
This commit is contained in:
committed by
Felix Lange
parent
92a90d7578
commit
98099d6fa7
@ -374,10 +374,13 @@ func TestClientNotificationStorm(t *testing.T) {
|
||||
return
|
||||
}
|
||||
}
|
||||
if wantError {
|
||||
t.Fatalf("didn't get expected error")
|
||||
}
|
||||
}
|
||||
|
||||
doTest(8000, false)
|
||||
doTest(10000, true)
|
||||
doTest(21000, true)
|
||||
}
|
||||
|
||||
func TestClientHTTP(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user