rpc: enable TestClientNotificationStorm to fail

- Previous implementation would not fail when error was expected but
  did not occur
This commit is contained in:
Rob Mulholand 2019-06-20 16:11:38 -05:00
parent 750bf158ed
commit 490cc7880c

View file

@ -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) {