Skip to content

Commit ab10909

Browse files
committed
NoError
1 parent a72aca0 commit ab10909

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

coderd/database/dbpurge/dbpurge_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,11 @@ func TestDeleteOldWorkspaceAgentLogs(t *testing.T) {
201201
AgentID: agent,
202202
})
203203
if err != nil {
204-
t.Fatalf("unable to get agent logs: %v", err.Error())
204+
return false
205205
}
206206
return !containsAgentLog(agentLogs, t.Name())
207207
}, testutil.WaitShort, testutil.IntervalFast)
208+
require.NoError(t, err)
208209
require.NotContains(t, agentLogs, t.Name())
209210
})
210211

0 commit comments

Comments
 (0)