Commit 76fc984
fix(nodebuilder/tests): fix TestShrexFromLights and TestArchivalBlobSync flakes
TestShrexFromLights: restructure to start light node after blocks are
filled so initial header exchange sync fetches all needed headers without
relying on gossipsub (same pattern that fixed TestShrexFromLightsWithBadFulls).
TestArchivalBlobSync: close the stopped archivalBN's host so that future
createPeer/LinkAll calls don't re-link new nodes to it. Without this,
new nodes may inadvertently reach archivalBN via shrex and get "protocols
not supported" errors since its handlers are gone after Stop().
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c9e3e3d commit 76fc984
2 files changed
+26
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
105 | 111 | | |
106 | 112 | | |
107 | | - | |
108 | | - | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 44 | | |
49 | 45 | | |
50 | | - | |
51 | | - | |
52 | 46 | | |
53 | 47 | | |
54 | | - | |
55 | 48 | | |
56 | 49 | | |
57 | 50 | | |
58 | 51 | | |
59 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
60 | 71 | | |
61 | 72 | | |
62 | 73 | | |
| |||
0 commit comments