Dan Kenigsberg has posted comments on this change.

Change subject: ssl: ssl_accept blocks after reboot
......................................................................


Patch Set 4: Code-Review-1

(1 comment)

http://gerrit.ovirt.org/#/c/33611/4/tests/sslTests.py
File tests/sslTests.py:

Line 114:         server.server.socket.accept_timeout = 1
Line 115:         timeout = server.server.socket.accept_timeout + 1
Line 116:         server.start()
Line 117:         try:
Line 118:             client_socket = socket.socket(socket.AF_INET, 
socket.SOCK_STREAM)
nit picking again: please use

 with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as 
client_socket

and drop the close() on finally. client_socket may not be defined there.
Line 119:             client_socket.settimeout(timeout)
Line 120:             client_socket.connect((HOST, server.port))
Line 121:             # Wait for data that will never arrive.
Line 122:             # This will return successfuly if the other side closes 
the


-- 
To view, visit http://gerrit.ovirt.org/33611
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I759436b5bfb6c2334d253d12806258cbe1c3720f
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczew...@gmail.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Martin Peřina <mper...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczew...@gmail.com>
Gerrit-Reviewer: Saggi Mizrahi <smizr...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to