DouglasGray / xsk-rs

A Rust interface for Linux AF_XDP sockets
MIT License
68 stars 16 forks source link

Clean up veth test setup #6

Closed DouglasGray closed 3 years ago

DouglasGray commented 3 years ago

Don't create a differently named veth pair for each test, use the same name and set up / tear down between tests, and run tests sequentially to avoid conflicts. Avoids potentially multiple veth pairs lying around that require cleaning up if something goes wrong.