[lxc-devel] [lxc/master] test: increase timeout for api reboot tests
brauner on Github
lxc-bot at linuxcontainers.org
Tue Jan 14 12:52:32 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200114/e1af219d/attachment.bin>
-------------- next part --------------
From fb2ac06720c7947b643901834402f394e7b6a9b4 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Tue, 14 Jan 2020 13:50:45 +0100
Subject: [PATCH] test: increase timeout for api reboot tests
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
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 9b5de49704..cecd846b8a 100644
--- a/src/tests/api_reboot.c
+++ b/src/tests/api_reboot.c
@@ -113,7 +113,7 @@ int main(int argc, char *argv[])
*/
sleep(5);
- if (!c->reboot2(c, 60)) {
+ if (!c->reboot2(c, 60 * 5)) {
lxc_error("%s\n", "Failed to reboot container \"reboot\"");
goto on_error_stop;
}
More information about the lxc-devel
mailing list