Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite7ab3e1

Browse files
authored
chore: log cancellation error in test (#15511)
Related:coder/internal#211
1 parentcb1a006 commite7ab3e1

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
iferr!=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)

[8]ページ先頭

©2009-2025 Movatter.jp