]> git.proxmox.com Git - mirror_lxc.git/commitdiff
tests: timeout after 60 seconds
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 9 Jan 2020 11:28:54 +0000 (12:28 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 9 Jan 2020 11:28:54 +0000 (12:28 +0100)
That should be more than enough to reboot.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/tests/api_reboot.c

index 730d6a81a5fff43df045cf7c0b81a8b923ab0f79..f6864e8777accc72353ec25d961b42db6707be8c 100644 (file)
@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
                 */
                sleep(5);
 
-               if (!c->reboot2(c, -1)) {
+               if (!c->reboot2(c, 60)) {
                        lxc_error("%s\n", "Failed to reboot container \"reboot\"");
                        goto on_error_stop;
                }