[Zope3-checkins] CVS: Zope3/src/zodb/zeo/tests - threadtests.py:1.4.2.2

Jeremy Hylton jeremy@zope.com
Thu, 13 Feb 2003 13:23:07 -0500


Update of /cvs-repository/Zope3/src/zodb/zeo/tests
In directory cvs.zope.org:/tmp/cvs-serv9912/tests

Modified Files:
      Tag: ZODB3-2-integration-branch
	threadtests.py 
Log Message:
Remove test that no longer works because of improved tpcAbort().


=== Zope3/src/zodb/zeo/tests/threadtests.py 1.4.2.1 => 1.4.2.2 ===
--- Zope3/src/zodb/zeo/tests/threadtests.py:1.4.2.1	Mon Feb 10 17:08:29 2003
+++ Zope3/src/zodb/zeo/tests/threadtests.py	Thu Feb 13 13:23:06 2003
@@ -143,24 +143,6 @@
         self.assertEqual(thread1.gotValueError, 1)
         self.assertEqual(thread2.gotValueError, 1)
 
-    def checkThatFailedBeginDoesNotHaveLock(self):
-        doNextEvent = threading.Event()
-        threadStartedEvent = threading.Event()
-        thread1 = GetsThroughVoteThread(self._storage,
-                                        doNextEvent, threadStartedEvent)
-        thread2 = AbortsAfterBeginFailsThread(self._storage,
-                                              doNextEvent, threadStartedEvent)
-        thread1.start()
-        threadStartedEvent.wait(1)
-        thread2.start()
-        self._storage.close()
-        doNextEvent.set()
-        thread1.join()
-        thread2.join()
-        self.assertEqual(thread1.gotValueError, 1)
-        self.assertEqual(thread2.gotValueError, 1)
-        self.assertEqual(thread2.gotDisconnected, 1)
-
     # Run a bunch of threads doing small and large stores in parallel
     def checkMTStores(self):
         threads = []