From ca7d0afafbde5866622b2fe18f28d6f30a4cb4b6 Mon Sep 17 00:00:00 2001 From: Andrey Pohilko Date: Mon, 8 Oct 2012 16:57:11 +0400 Subject: [PATCH] Disable web online shutdown --- .gitignore | 3 ++- Tank/Plugins/WebOnline.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3ce36d2..ca9d58e 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ configure-stamp *.pyc .* debian/files -*~ \ No newline at end of file +*~debian/yandex-load-tank-base.postinst.debhelper +debian/yandex-load-tank-base.prerm.debhelper diff --git a/Tank/Plugins/WebOnline.py b/Tank/Plugins/WebOnline.py index ef826db..e68c066 100644 --- a/Tank/Plugins/WebOnline.py +++ b/Tank/Plugins/WebOnline.py @@ -8,6 +8,7 @@ import os.path import socket import tankcore import time +import traceback class WebOnlinePlugin(AbstractPlugin, Thread, AggregateResultListener): SECTION = "web" @@ -43,7 +44,7 @@ class WebOnlinePlugin(AbstractPlugin, Thread, AggregateResultListener): def end_test(self, retcode): self.log.info("Shutting down local server") - self.server.shutdown() + #self.server.shutdown() don't enable it since it leads to random deadlocks del self.server self.server = None return retcode