Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: log cancellation error in test
  • Loading branch information
mtojek committed Nov 14, 2024
commit c99a56160206a19289bd4d0d53aa0a6dd52e9e45
2 changes: 1 addition & 1 deletion provisionersdk/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func TestAgentScript(t *testing.T) {
// Kill the command, wait for the command to yield.
err := cmd.Cancel()
if err != nil {
t.Fatalf("unable to cancel the command, see logs:\n%s", output.String())
t.Fatalf("unable to cancel the command: %v, see logs:\n%s", err, output.String())
}
wg.Wait()

Expand Down
Loading