Commit c596555
## Summary
- Increase `NewNetwork` max retries from 3 to 5 to give CI runners more
chances to find free ports
- Replace fixed 1s sleep with linear backoff (1s, 2s, 3s, 4s, 5s)
between retries
- Add a log line on each retry attempt for better CI debuggability
Addresses flaky CI failure in
`TestTxClientTestSuite/TestMultiConnBroadcast` where port binding errors
exhausted all retry attempts:
https://github.com/celestiaorg/celestia-app/actions/runs/24018301319/job/70041920378
## Backport notes
Mergify left literal `<<<<<<< HEAD` / `>>>>>>>` markers in
`test/util/testnode/network.go` because v8.x reorganized the retry loop
so that `cleanup()` runs inside the `isPortBindingError` branch (vs.
outside it on `main`). Conflict resolved by keeping the v8.x structure
and layering the new log line + linear backoff on top.
## Test plan
- [x] `go build ./test/util/testnode/...` compiles successfully
- [ ] CI passes on this PR
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---
<a href="https://app.devin.ai/review/celestiaorg/celestia-app/pull/6968"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<hr>This is an automatic backport of pull request #6968 done by
[Mergify](https://mergify.com).
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/celestiaorg/celestia-app/pull/7114"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
---------
Co-authored-by: Rootul P <rootulp@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d8cd00c commit c596555
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
0 commit comments