Commit 76e328b
committed
fix(evm): stop creating a docker network the node never uses
The handler created a network, joined the besu container to it, and left it
behind. Nothing needed it: the FSC nodes are host processes and forge runs on
the host, so everything reaches the node over its published port on 127.0.0.1.
The container joins the default bridge instead, and there is nothing left to
clean up.
Its name was wrong in a way worth recording. It came from the root directory,
and every suite passes ./testdata, so the name was the string "testdata" for
all of them. The comment claimed that kept parallel runs apart when it did the
opposite: the two evm suites shared one network and one besu-testdata
container, and startup force-removes a container by that name, so a second run
would kill the first. The container is named after its reserved port now, which
is unique by construction.
Reported by adecaro on #2159.
Signed-off-by: atharrva01 <atharvaborade568@gmail.com>1 parent cccc40a commit 76e328b
3 files changed
Lines changed: 16 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
| |||
134 | 132 | | |
135 | 133 | | |
136 | 134 | | |
137 | | - | |
138 | | - | |
139 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
140 | 138 | | |
141 | 139 | | |
142 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 47 | | |
56 | 48 | | |
57 | | - | |
| 49 | + | |
58 | 50 | | |
59 | 51 | | |
60 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
| |||
221 | 219 | | |
222 | 220 | | |
223 | 221 | | |
224 | | - | |
225 | | - | |
226 | 222 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
232 | 228 | | |
233 | 229 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
239 | 234 | | |
240 | 235 | | |
241 | 236 | | |
| |||
0 commit comments