Remove unnecessary ratelimiting in tests

Signed-off-by: Wendi Yu <wendi.yu@yahoo.ca>
This commit is contained in:
Wendi Yu 2020-05-08 13:02:51 -06:00
parent db90b611f2
commit 5b12473d70

View File

@ -193,9 +193,9 @@ type testNode struct {
func newNode(t *testing.T, prefix string, https *httptest.Server, weirdPrefs bool) testNode {
t.Helper()
logfe := logger.RateLimitedFn(logger.WithPrefix(t.Logf, prefix+"e: "), 1, 1, 100)
logfe := logger.WithPrefix(t.Logf, prefix+"e: ")
logf := logger.RateLimitedFn(logger.WithPrefix(t.Logf, prefix+": "), 1, 1, 100)
logf := logger.WithPrefix(t.Logf, prefix+": ")
var err error
httpc := https.Client()