Skip to content
Snippets Groups Projects
Commit 2a0c8263 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

tests-extra: add lsof debug messages

parent 35e4c033
No related branches found
No related tags found
No related merge requests found
......@@ -176,10 +176,14 @@ class Server(object):
# Check for successful bind.
if str(self.proc.pid) not in pids:
# LSOF DEBUG
check_log("LSOF '%s':'%s' no PID" % (self.name, iface))
return False
# More binded processes is not acceptable too.
if len(pids) > 1:
# LSOF DEBUG
check_log("LSOF '%s':'%s' more PIDs" % (self.name, iface))
return False
return True
......
......@@ -187,6 +187,7 @@ class Test(object):
if not server.listening():
self.stop(check=False)
# LSOF DEBUG
check_log("Server '%s' not listening. Reconfiguring..." % server.name)
self.start()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment