Page MenuHomePhabricator

[chronik-client] Bump timeout for mocha tests
ClosedPublic

Authored by bytesofman on Jan 31 2024, 12:05.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCf67d512e6898: [chronik-client] Bump timeout for mocha tests
Summary

Hitting the default 2s timeout about 30% of the time in these tests despite tests working as expected.

Bump timeout to 5s.

Test Plan

See D14915 instructions or wait for CI

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien added a subscriber: Fabien.
Fabien added inline comments.
modules/chronik-client/.mocharc.js
3 ↗(On Diff #44788)

Please bump even more, block generation for example can take time and we don't want flaky tests due to timeout. On the other hand it's fine to wait a few more seconds to make sure it's an actual failure.

This revision is now accepted and ready to land.Jan 31 2024, 13:12
This revision was automatically updated to reflect the committed changes.
bytesofman marked an inline comment as done.