From: Christian Brauner Date: Thu, 9 Jan 2020 11:28:54 +0000 (+0100) Subject: tests: timeout after 60 seconds X-Git-Tag: lxc-4.0.0~62^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38bbeb799e33130932ff3d20f57ab060c184675a;p=thirdparty%2Flxc.git tests: timeout after 60 seconds That should be more than enough to reboot. Signed-off-by: Christian Brauner --- diff --git a/src/tests/api_reboot.c b/src/tests/api_reboot.c index 730d6a81a..f6864e877 100644 --- a/src/tests/api_reboot.c +++ b/src/tests/api_reboot.c @@ -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; }