Skip to content

Commit

Permalink
run unittests in privileged docker container
Browse files Browse the repository at this point in the history
The code coverage tests already run in a privileged container, so this
does not affect our security posture. Additionally, it will unblock
vsock unit tests in the vhost-user-vsock crate, see also
rust-vmm/vhost-device#706 and
rust-vmm/vhost-device#728

Signed-off-by: Patrick Roy <[email protected]>
  • Loading branch information
roypat committed Oct 10, 2024
1 parent cdb4a2d commit 209c04e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .buildkite/test_description.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,21 @@
"x86_64",
"aarch64",
"riscv64"
]
],
"docker_plugin": {
"privileged": true
}
},
{
"test_name": "unittests-musl",
"command": "cargo test --all-features --workspace --target {target_platform}-unknown-linux-musl",
"platform": [
"x86_64",
"aarch64"
]
],
"docker_plugin": {
"privileged": true
}
},
{
"test_name": "clippy",
Expand Down

0 comments on commit 209c04e

Please sign in to comment.