Commit 2149ac3
fix(nodebuilder/tests): fix API and pruning integration test flakes
TestHeaderSubscription: explicitly connect bridge and light nodes via
mocknet.ConnectPeers, wait for initial sync, and add a delay for
gossipsub heartbeat exchange before subscribing. The bridge uses
FanoutOnly mode which requires subscription metadata propagation.
TestArchivalBlobSync: use assert.Eventually instead of assert.False
for EDS pruning checks. Pruning FNs fetch blocks from core during
catch-up and the pruner needs time to remove data outside the
availability window.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 52ca35f commit 2149ac3
2 files changed
+19
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | 154 | | |
163 | 155 | | |
164 | 156 | | |
165 | 157 | | |
166 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
167 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
156 | 158 | | |
157 | 159 | | |
158 | | - | |
159 | | - | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
0 commit comments