The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/2100

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
From 210082dc9b2673fce64b606e1054cca86effdecf Mon Sep 17 00:00:00 2001
From: Tycho Andersen <tycho.ander...@canonical.com>
Date: Fri, 10 Jun 2016 14:53:29 -0600
Subject: [PATCH] sleep 1h on test failure, please don't merge!

Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
---
 test/main.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/main.sh b/test/main.sh
index 8fb8476..50f41ea 100755
--- a/test/main.sh
+++ b/test/main.sh
@@ -267,6 +267,12 @@ kill_lxd() {
 cleanup() {
   set +e
 
+  if [ "${TEST_RESULT}" != "success" ]; then
+    echo "failed test: ${TEST_CURRENT}, sleeping..."
+
+    sleep 1h
+  fi
+
   # Allow for inspection
   if [ -n "${LXD_INSPECT:-}" ]; then
     echo "==> Test result: ${TEST_RESULT}"
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to