Skip to content

Commit

Permalink
Flush command log always (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
alenkacz authored May 6, 2021
1 parent b80c42e commit 654174f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/test/step.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,7 @@ func (s *Step) Run(namespace string) []error {
s.Logger.Log("post assert collector failure: %s", err)
}
}
if len(s.Assert.Collectors) > 0 {
s.Logger.Flush()
}
s.Logger.Flush()
return testErrors
}

Expand Down

0 comments on commit 654174f

Please sign in to comment.