From b4b6291c7fc3602b10a05d541d80bb00d2e138bf Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Thu, 9 Jan 2020 12:28:54 +0100 Subject: [PATCH] tests: timeout after 60 seconds That should be more than enough to reboot. Signed-off-by: Christian Brauner --- src/tests/api_reboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3