Skip to content

Commit 43fcc67

Browse files
committed
remove thread debugging code
1 parent ed528f8 commit 43fcc67

File tree

2 files changed

+0
-391
lines changed

2 files changed

+0
-391
lines changed

main_test.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import (
44
"fmt"
55
"net"
66
"os"
7-
"runtime"
8-
"runtime/pprof"
97
"strconv"
108
"strings"
119
"sync"
@@ -149,22 +147,12 @@ var _ = BeforeSuite(func() {
149147
// populate cluster node information
150148
Expect(configureClusterTopology(ctx, cluster)).NotTo(HaveOccurred())
151149
}
152-
runtime.SetBlockProfileRate(1)
153-
runtime.SetMutexProfileFraction(1)
154150
})
155151

156152
var _ = AfterSuite(func() {
157153
if !RECluster {
158154
Expect(cluster.Close()).NotTo(HaveOccurred())
159155
}
160-
if f, err := os.Create("block.pprof"); err == nil {
161-
pprof.Lookup("block").WriteTo(f, 0)
162-
f.Close()
163-
}
164-
if f, err := os.Create("mutex.pprof"); err == nil {
165-
pprof.Lookup("mutex").WriteTo(f, 0)
166-
f.Close()
167-
}
168156
})
169157

170158
func TestGinkgoSuite(t *testing.T) {

0 commit comments

Comments
 (0)