Skip to content

Commit

Permalink
tests: timeout after 60 seconds
Browse files Browse the repository at this point in the history
That should be more than enough to reboot.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Jan 22, 2020
1 parent 6cd33a1 commit b4b6291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/api_reboot.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit b4b6291

Please sign in to comment.