Commit 6d8c0da
committed
testenv: Don't read interface MAC addresses until we need them
There is a slight delay after the interface is created where the MAC
address can change. This will lead to the wrong neighbour entry being
installed, so defer reading the MAC address until just before we need it.
This seems to be enough to avoid the race.
Fixes #159 (again).
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>1 parent f7a0a14 commit 6d8c0da
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | 243 | | |
247 | 244 | | |
248 | 245 | | |
249 | 246 | | |
250 | 247 | | |
| 248 | + | |
251 | 249 | | |
252 | 250 | | |
253 | 251 | | |
| |||
256 | 254 | | |
257 | 255 | | |
258 | 256 | | |
| 257 | + | |
259 | 258 | | |
260 | 259 | | |
261 | 260 | | |
| |||
0 commit comments