consul/command
Paul Banks 2b377dc624 Run daemon processes as a detached child.
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.
2018-06-25 12:24:08 -07:00
..
agent command/agent: don't re-parse the flags on reload 2018-05-31 16:59:51 -07:00
catalog remove golint warnings 2018-01-28 22:40:13 +04:00
connect Run daemon processes as a detached child. 2018-06-25 12:24:08 -07:00
event commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
exec commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
flags command/connect/proxy: set ACL token based on proxy token flag 2018-06-14 09:42:14 -07:00
forceleave commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
helpers Move data source loading into a command helpers function 2018-05-24 10:34:08 -04:00
info commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
intention command/intention: address comment feedback 2018-06-14 09:42:20 -07:00
join commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
keygen commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
keyring commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
kv Merge pull request #4194 from hashicorp/fix-kv-del-validation 2018-06-05 16:58:14 +01:00
leave commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
lock Decouple the code that executes checks from the agent 2017-10-25 11:18:07 +02:00
maint commands: cleanup init 2017-10-18 02:39:10 +02:00
members commands: cleanup init 2017-10-18 02:39:10 +02:00
monitor Spelling (#3958) 2018-03-19 16:56:00 +00:00
operator Fix typo 2018-01-05 15:24:44 -05:00
reload commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
rtt remove golint warnings 2018-01-28 22:40:13 +04:00
snapshot Spelling (#3958) 2018-03-19 16:56:00 +00:00
validate Update make static-assets goal and run format 2018-04-13 09:57:25 -07:00
version commands: run all tests in parallel (again) 2017-10-18 00:08:45 +02:00
watch Don't allow connect watches in agent/cli yet 2018-06-14 09:42:06 -07:00
commands_oss.go Run daemon processes as a detached child. 2018-06-25 12:24:08 -07:00
registry.go Run daemon processes as a detached child. 2018-06-25 12:24:08 -07:00