Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley committed Aug 22, 2023
1 parent efdc363 commit 50204df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/channelz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ func (s) TestCZServerRegistrationAndDeletion(t *testing.T) {
te.tearDown()
ss, end = channelz.GetServers(c.start, c.max)
if len(ss) != 0 || !end {
panic("die")
t.Fatalf("%d: GetServers(0) = %+v (len of which: %d), end: %+v, want len(GetServers(0)) = 0, end: true", i, ss, len(ss), end)
}
}
Expand Down
2 changes: 0 additions & 2 deletions test/end2end_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
"os"
"reflect"
"runtime"
"runtime/debug"
"strings"
"sync"
"sync/atomic"
Expand Down Expand Up @@ -574,7 +573,6 @@ func newTest(t *testing.T, e env) *test {

func (te *test) listenAndServe(ts testgrpc.TestServiceServer, listen func(network, address string) (net.Listener, error)) net.Listener {
te.t.Helper()
debug.PrintStack()
te.t.Logf("Running test in %s environment...", te.e.name)
sopts := []grpc.ServerOption{grpc.MaxConcurrentStreams(te.maxStream)}
if te.maxServerMsgSize != nil {
Expand Down

0 comments on commit 50204df

Please sign in to comment.