Add go profiling flag, and enable on integration tests (#1382)
This commit is contained in:
parent
d0113732fe
commit
56dd734300
44 changed files with 333 additions and 13 deletions
|
@ -149,15 +149,7 @@ func NewScenario() (*Scenario, error) {
|
|||
// environment running the tests.
|
||||
func (s *Scenario) Shutdown() error {
|
||||
s.controlServers.Range(func(_ string, control ControlServer) bool {
|
||||
err := control.SaveLog("/tmp/control")
|
||||
if err != nil {
|
||||
log.Printf(
|
||||
"Failed to save log from control: %s",
|
||||
fmt.Errorf("failed to save log from control: %w", err),
|
||||
)
|
||||
}
|
||||
|
||||
err = control.Shutdown()
|
||||
err := control.Shutdown()
|
||||
if err != nil {
|
||||
log.Printf(
|
||||
"Failed to shut down control: %s",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue