File tree Expand file tree Collapse file tree 2 files changed +0
-391
lines changed
Expand file tree Collapse file tree 2 files changed +0
-391
lines changed Original file line number Diff line number Diff line change 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
156152var _ = 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
170158func TestGinkgoSuite (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments