Skip to content

Commit a72aca0

Browse files
committed
Use t.Fatal
1 parent 42f4bff commit a72aca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/dbpurge/dbpurge_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func TestDeleteOldWorkspaceAgentLogs(t *testing.T) {
201201
AgentID: agent,
202202
})
203203
if err != nil {
204-
require.FailNow(t, "unable to get agent logs: %w", err)
204+
t.Fatalf("unable to get agent logs: %v", err.Error())
205205
}
206206
return !containsAgentLog(agentLogs, t.Name())
207207
}, testutil.WaitShort, testutil.IntervalFast)

0 commit comments

Comments
 (0)