aurae-runtime / aurae

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

Don't use /proc/self/exe in tests #441

Closed future-highway closed 1 year ago

future-highway commented 1 year ago

Test binaries do not include the code in main.rs, and therefore, do not have command arg parsing. So, when we use /proc/self/exe to launch a nested auraed in tests, the command args are not parsed and the nested auraed runs, but doesn't do anything.