Skip to content

Commit 62ce1c5

Browse files
committed
fixup! fix(coderd/healthcheck/derphealth): do not override parent context deadline
1 parent 7c9d51a commit 62ce1c5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

coderd/healthcheck/derphealth/derp_test.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ func TestDERP(t *testing.T) {
121121
report.Run(ctx, opts)
122122

123123
assert.False(t, report.Healthy)
124-
if assert.NotNil(t, report.Error) {
125-
assert.Contains(t, context.DeadlineExceeded, *report.Error)
126-
}
124+
assert.Nil(t, report.Error)
127125
})
128126

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

0 commit comments

Comments
 (0)