coreos / fleet

fleet ties together systemd and etcd into a distributed init system
Apache License 2.0
2.42k stars 302 forks source link

fleetctl: increase default sleep time from 2 to 4 seconds #1714

Closed dongsupark closed 7 years ago

dongsupark commented 7 years ago

As fleetctl start sometimes needs to wait up to 4 seconds until systemd active states get confirmed, we need to increase the defaultSleepTime from 2 to 4 seconds. Otherwise, a simple "fleetctl start" could sometimes fail with timeout.

Also reduce total running time of all tests, to avoid crash of functional tests resulted by the global timeout 600 secs.

dongsupark commented 7 years ago

Duh, this change is not necessary at all. "fleetctl start" already works just fine. The issue is only a misleading error message. I'll create another PR to fix the message.