mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-06 02:15:22 +00:00
Disable web online shutdown
This commit is contained in:
parent
c60b6b7d43
commit
ca7d0afafb
3
.gitignore
vendored
3
.gitignore
vendored
@ -9,4 +9,5 @@ configure-stamp
|
||||
*.pyc
|
||||
.*
|
||||
debian/files
|
||||
*~
|
||||
*~debian/yandex-load-tank-base.postinst.debhelper
|
||||
debian/yandex-load-tank-base.prerm.debhelper
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user