Add a simple benchmark to e2e tests (#739)

This commit is contained in:
Nate Brown
2022-09-01 09:44:58 -05:00
committed by GitHub
parent c2259f14a7
commit feb3e1317f
7 changed files with 94 additions and 23 deletions

View File

@@ -7,7 +7,6 @@ import (
"crypto/rand"
"fmt"
"io"
"io/ioutil"
"net"
"os"
"testing"
@@ -304,7 +303,8 @@ func NewTestLogger() *logrus.Logger {
v := os.Getenv("TEST_LOGS")
if v == "" {
l.SetOutput(ioutil.Discard)
l.SetOutput(io.Discard)
l.SetLevel(logrus.PanicLevel)
return l
}