Commit bca41b0
committed
test vlan: Fix race condition on MAC address
When creating VLAN 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 in tests.
Signed-off-by: Gris Ge <cnfourt@gmail.com>1 parent fb5960c commit bca41b0
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
259 | 261 | | |
260 | 262 | | |
261 | 263 | | |
| |||
0 commit comments