Skip to content

Commit e7ab3e1

Browse files
authored
chore: log cancellation error in test (#15511)
Related: coder/internal#211
1 parent cb1a006 commit e7ab3e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provisionersdk/agent_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func TestAgentScript(t *testing.T) {
120120
// Kill the command, wait for the command to yield.
121121
err := cmd.Cancel()
122122
if err != nil {
123-
t.Fatalf("unable to cancel the command, see logs:\n%s", output.String())
123+
t.Fatalf("unable to cancel the command: %v, see logs:\n%s", err, output.String())
124124
}
125125
wg.Wait()
126126

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy