[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/forker.py Removed code to reraise a ECONNRESET socket exception. I don't see

Jim Fulton jim at zope.com
Thu Nov 20 13:57:04 EST 2008


Log message for revision 93189:
  Removed code to reraise a ECONNRESET socket exception.  I don't see
  any reason to reraise this.  all we really care about is that we were
  able to connect. This was causing spurious errors during tear down.
  

Changed:
  U   ZODB/trunk/src/ZEO/tests/forker.py

-=-
Modified: ZODB/trunk/src/ZEO/tests/forker.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/forker.py	2008-11-20 18:41:09 UTC (rev 93188)
+++ ZODB/trunk/src/ZEO/tests/forker.py	2008-11-20 18:57:04 UTC (rev 93189)
@@ -190,8 +190,6 @@
         try:
             ack = s.recv(1024)
         except socket.error, e:
-            if e[0] == errno.ECONNRESET:
-                raise
             ack = 'no ack received'
         logger.debug('shutdown_zeo_server(): acked: %s' % ack)
         s.close()



More information about the Zodb-checkins mailing list