Disable trace profiling so tests work on CircleCI
This commit is contained in:
parent
529acf65ff
commit
19405084cf
1 changed files with 0 additions and 2 deletions
2
main.go
2
main.go
|
@ -31,8 +31,6 @@ func main() {
|
||||||
defer profile.Start(profile.MemProfile, profile.ProfilePath("."), profile.NoShutdownHook).Stop()
|
defer profile.Start(profile.MemProfile, profile.ProfilePath("."), profile.NoShutdownHook).Stop()
|
||||||
case "block":
|
case "block":
|
||||||
defer profile.Start(profile.BlockProfile, profile.ProfilePath("."), profile.NoShutdownHook).Stop()
|
defer profile.Start(profile.BlockProfile, profile.ProfilePath("."), profile.NoShutdownHook).Stop()
|
||||||
case "trace":
|
|
||||||
defer profile.Start(profile.TraceProfile, profile.ProfilePath("."), profile.NoShutdownHook).Stop()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cli.Init()
|
cli.Init()
|
||||||
|
|
Loading…
Reference in a new issue