Skip to content

Commit 57936ad

Browse files
committed
fix: ci failing
1 parent acd4fe0 commit 57936ad

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/unit/test_ffi_context.nim

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,12 @@ suite "destroyFFIContext refc workaround":
228228
check false
229229
return
230230

231+
# This case stresses the refc destroy workaround, not the request timeout:
232+
# the 50k-allocation handler can outrun the finite default deadline on a slow
233+
# sanitizer/ARM runner, tripping a spurious timeout err. Opt out so the check
234+
# below observes the handler's real result.
235+
ctx.defaultRequestTimeout = InfiniteDuration
236+
231237
var d: CallbackData
232238
initCallbackData(d)
233239
defer:

0 commit comments

Comments
 (0)