Disable web online shutdown

This commit is contained in:
Andrey Pohilko 2012-10-08 16:57:11 +04:00
parent c60b6b7d43
commit ca7d0afafb
2 changed files with 4 additions and 2 deletions

3
.gitignore vendored
View File

@ -9,4 +9,5 @@ configure-stamp
*.pyc
.*
debian/files
*~
*~debian/yandex-load-tank-base.postinst.debhelper
debian/yandex-load-tank-base.prerm.debhelper

View File

@ -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