aurae-runtime / aurae

Distributed systems runtime daemon written in Rust.
https://aurae.io
Apache License 2.0
1.84k stars 91 forks source link

Remove ignore requirement for tests needing root privileges #332

Closed future-highway closed 1 year ago

future-highway commented 1 year ago

We've been marking tests that need sudo (root privileges) with ignore, so that we can run the tests in CI.

I noticed the Nix crate had some helpful macros, circumventing the need to use ignore. They aren't part of their public api, so I created a test-helpers crate for us and copied the 2 macros we needed to skip when root isn't available.

future-highway commented 1 year ago

Marked the PR as draft until I update it to run the root requiring tests in 035

future-highway commented 1 year ago

Closed in favor of #338