Update tests to use AF_INET6
zuul_console now properly uses AF_INET6, but some of our tests were
still using AF_INET. There are some sporadic failures with the streaming
test that show some connection errors. It's possible AF_INET6 is a red
herring, but it's also not incorrect to set it, so let's go ahead and
update it.
While we're at it - use the create_connection form like we do in
zuul_stream rather than the s = socket.socket ; s.connect form.
Change-Id: I278efb939cb6540b5fe2fb1a06495d9be5a7f997
2 files changed