You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/08/27 15:03:10 UTC
[GitHub] [trafficserver] bneradt commented on a change in pull request #8284: autest: log port # when port is recycled
bneradt commented on a change in pull request #8284:
URL: https://github.com/apache/trafficserver/pull/8284#discussion_r697513039
##########
File path: tests/gold_tests/autest-site/ports.py
##########
@@ -232,7 +232,7 @@ def get_port(obj, name):
"Using port from port queue: {}".format(port))
# setup clean up step to recycle the port
obj.Setup.Lambda(func_cleanup=lambda: g_ports.put(
- port), description="recycling port")
+ port), description="recycling port: {}".format(port))
Review comment:
Thanks Randall. This is helpful.
While we're at it, let's also add `g_ports.qsize()` to this. Also, we've generally been using the new Python format strings:
`f"recycling port: {port}, queue size: {g_ports.qsize()"`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org