mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore: log cancellation error in test (#15511)
Related: https://github.com/coder/internal/issues/211
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user