lxc-test-autostart occasionaly fails at the restart test in the CI environment. Looking at the current test case, the most obvious race there is if lxc-wait exists succesfuly immediately after LXC marked the container RUNNING (init spawned) but before init had a chance to setup the signal handlers. To avoid this potential race period, let's add a 5s delay between the tests to give a chance for init to finish starting up. Signed-off-by:Stéphane Graber <stgraber@ubuntu.com> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Makefile.am | Loading commit data... | |
| aa.c | Loading commit data... | |
| attach.c | Loading commit data... | |
| cgpath.c | Loading commit data... | |
| clonetest.c | Loading commit data... | |
| concurrent.c | Loading commit data... | |
| console.c | Loading commit data... | |
| containertests.c | Loading commit data... | |
| createtest.c | Loading commit data... | |
| destroytest.c | Loading commit data... | |
| device_add_remove.c | Loading commit data... | |
| get_item.c | Loading commit data... | |
| getkeys.c | Loading commit data... | |
| list.c | Loading commit data... | |
| locktests.c | Loading commit data... | |
| lxc-test-autostart | Loading commit data... | |
| lxc-test-ubuntu | Loading commit data... | |
| lxc-test-unpriv | Loading commit data... | |
| lxc-test-usernic.in | Loading commit data... | |
| lxcpath.c | Loading commit data... | |
| may_control.c | Loading commit data... | |
| reboot.c | Loading commit data... | |
| saveconfig.c | Loading commit data... | |
| shutdowntest.c | Loading commit data... | |
| snapshot.c | Loading commit data... | |
| startone.c | Loading commit data... |