Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! fix(coderd/healthcheck/derphealth): do not override parent con…
…text deadline
  • Loading branch information
johnstcn committed Jun 6, 2024
commit 62ce1c5fd5f6ffb3a96c4ea5bc0fbed4928aec6d
4 changes: 1 addition & 3 deletions coderd/healthcheck/derphealth/derp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ func TestDERP(t *testing.T) {
report.Run(ctx, opts)

assert.False(t, report.Healthy)
if assert.NotNil(t, report.Error) {
assert.Contains(t, context.DeadlineExceeded, *report.Error)
}
assert.Nil(t, report.Error)
})

t.Run("HealthyWithNodeDegraded", func(t *testing.T) {
Expand Down