This repository has been archived by the owner on Oct 18, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix eth_subscribe_test timeout on CI (ledgerwatch#4595)
Reduce the likelihood of a deadlock caused by goroutine starvation on CI. The CI macOS runners have 3 cores. When running other tests in parallel having too few available cores could cause a deadlock. Test with: GOMAXPROCS=2 go test ./cmd/rpcdaemon/commands/eth_subscribe_test.go -test.count 100 --timeout 10s Expected: the command finishes within 3 sec Before the fix: it timeouts (without a timeout - hangs forever)
- Loading branch information