tests: timeout after 60 seconds

That should be more than enough to reboot. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 6cd33a15
...@@ -84,7 +84,7 @@ int main(int argc, char *argv[]) ...@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
*/ */
sleep(5); sleep(5);
if (!c->reboot2(c, -1)) { if (!c->reboot2(c, 60)) {
lxc_error("%s\n", "Failed to reboot container \"reboot\""); lxc_error("%s\n", "Failed to reboot container \"reboot\"");
goto on_error_stop; goto on_error_stop;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment