Commit f58ebb9
committed
test vlan: Fix race condition on MAC address
When creating VLAN parent dummy interface without `address` property
defined, systemd/udevd will generate random MAC address and change it,
hence we have race problem during creation and query.
Fixed by explicitly set MAC address when creating VLAN parent interface
in tests.
Signed-off-by: Gris Ge <cnfourt@gmail.com>1 parent c72f59e commit f58ebb9
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
251 | 259 | | |
252 | 260 | | |
253 | 261 | | |
| |||
0 commit comments