backport: v7.x - #11989 - test: add internal/socket_list tests
Backport of #11989 to v7.x.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test