integration-tests: Don't use lo interface for XDP, create some veths instead #422
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
test
A PR that improves test cases or CI
Currently, integration tests are attaching XDP programs to
lo
inteface:aya/test/integration-test/src/tests/load.rs
Line 24 in f3262e8
That's not a good approach, it's too intrusive, especially if the test fails or if for some reason the XDP program doesn't get unloaded.
lo
, as well as any already existing NICs, shouldn't be touched.To test XDP, we should rather create some new, fake veth interfaces, which then we remove after running a test. Such interfaces should be also safe to remove manually if anything goes wrong with cleaning up after the test.
The text was updated successfully, but these errors were encountered: