Skip to content

Commit e3c8f41

Browse files
authored
Merge pull request #2843 from IntersectMBO/fix_exclude_close
fix(netstat_tools): remove CLOSE from netstat command
2 parents 3970338 + c30c48c commit e3c8f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cardano_node_tests/cluster_management/netstat_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def get_netstat_out() -> str:
1515
"""Get output of the `netstat` command."""
1616
try:
1717
return helpers.run_command(
18-
"netstat -pant | grep -E 'LISTEN|TIME_WAIT|CLOSE'", ignore_fail=True, shell=True
18+
"netstat -pant | grep -E 'LISTEN|TIME_WAIT'", ignore_fail=True, shell=True
1919
).decode()
2020
except Exception as excp:
2121
LOGGER.error(f"Failed to fetch netstat output: {excp}") # noqa: TRY400

0 commit comments

Comments
 (0)