[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/testZEO.py Fixed runzeo_logrotate_on_sigusr2 to work with Python 2.5.
Jim Fulton
jim at zope.com
Fri Sep 24 16:18:13 EDT 2010
Log message for revision 116793:
Fixed runzeo_logrotate_on_sigusr2 to work with Python 2.5.
Changed:
U ZODB/trunk/src/ZEO/tests/testZEO.py
-=-
Modified: ZODB/trunk/src/ZEO/tests/testZEO.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/testZEO.py 2010-09-24 19:40:01 UTC (rev 116792)
+++ ZODB/trunk/src/ZEO/tests/testZEO.py 2010-09-24 20:18:13 UTC (rev 116793)
@@ -1518,7 +1518,7 @@
>>> oldlog = open('l').read()
>>> os.rename('l', 'o')
- >>> p.send_signal(signal.SIGUSR2)
+ >>> os.kill(p.pid, signal.SIGUSR2)
>>> wait_until('new file', lambda : os.path.exists('l'))
>>> s = ClientStorage(port)
@@ -1529,7 +1529,7 @@
# Cleanup:
- >>> p.kill()
+ >>> os.kill(p.pid, signal.SIGKILL)
>>> _ = p.wait()
"""
More information about the Zodb-checkins
mailing list