summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGal Pressman <gal@nvidia.com>2026-03-10 13:58:03 +0200
committerJakub Kicinski <kuba@kernel.org>2026-03-11 19:11:40 -0700
commitf0bd19316663710de157e85afd62058312aa97e1 (patch)
tree574c5809165bc5129e0aad42fdccd720a4f363ea /tools/perf/scripts/python
parent82562972b85469e23fb787f78c1dea6ad6b16af4 (diff)
selftests: net: fix timeout passed as positional argument to communicate()
The cited commit refactored the hardcoded timeout=5 into a parameter, but dropped the keyword from the communicate() call. Since Popen.communicate()'s first positional argument is 'input' (not 'timeout'), the timeout value is silently treated as stdin input and the call never enforces a timeout. Pass timeout as a keyword argument to restore the intended behavior. Reviewed-by: Nimrod Oren <noren@nvidia.com> Signed-off-by: Gal Pressman <gal@nvidia.com> Link: https://patch.msgid.link/20260310115803.2521050-3-gal@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions