mirror of https://github.com/status-im/consul.git
2b377dc624
This turns out to have a lot more subtelty than we accounted for. The test suite is especially prone to races now we can only poll the child and many extra levels of indirectoin are needed to correctly run daemon process without it becoming a Zombie. I ran this test suite in a loop with parallel enabled to verify for races (-race doesn't find any as they are logical inter-process ones not actual data races). I made it through ~50 runs before hitting an error due to timing which is much better than before. I want to go back and see if we can do better though. Just getting this up. |
||
---|---|---|
.. | ||
daemon.go | ||
daemon_test.go | ||
exitstatus_other.go | ||
exitstatus_syscall.go | ||
manager.go | ||
manager_test.go | ||
noop.go | ||
noop_test.go | ||
process.go | ||
process_test.go | ||
process_unix.go | ||
process_windows.go | ||
proxy.go | ||
proxy_test.go | ||
snapshot.go | ||
test.go |