ockam
ockam copied to clipboard
Improve tests on examples/rust/*
Here are some opportunities...
- The tests in
examples/rust/get_starteddo not cover significant portions of code. - Some tests in
examples/rust/*could still clash on TCP ports when run in parallel. Maybe they should ask the OS for free ports, rather then using hardcoded values (could use portpicker?). example_test_helpercould allow child processes to inherit environment variables from their parent. This might allow childcargoprocesses to use the mold linker in CI.- Maybe tests in
examples/rust/*should use the thecargo--lockedargument as is done in other parts of the Ockam code base (e.g. here).