mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
rpc: enable TestClientNotificationStorm to fail
- Previous implementation would not fail when error was expected but did not occur
This commit is contained in:
parent
750bf158ed
commit
490cc7880c
1 changed files with 4 additions and 1 deletions
|
|
@ -374,10 +374,13 @@ func TestClientNotificationStorm(t *testing.T) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if wantError {
|
||||||
|
t.Fatalf("didn't get expected error")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
doTest(8000, false)
|
doTest(8000, false)
|
||||||
doTest(10000, true)
|
doTest(21000, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestClientHTTP(t *testing.T) {
|
func TestClientHTTP(t *testing.T) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue