• Julien Muchembled's avatar
    Work around potential deadlock when stopping threaded test · c154e45a
    Julien Muchembled authored
    For example, with test2Clusters:
    
    Traceback (most recent call last):
      File "neo/master/app.py", line 111, in run
        self._run()
      File "neo/master/app.py", line 131, in _run
        self.playPrimaryRole()
      File "neo/master/app.py", line 318, in playPrimaryRole
        self.provideService()
      File "neo/master/app.py", line 269, in provideService
        em.poll(1)
      File "neo/lib/event.py", line 90, in poll
        self._poll(timeout=timeout)
      File "neo/tests/threaded/__init__.py", line 150, in _poll
        Serialized.tic(self._lock)
      File "neo/tests/threaded/__init__.py", line 102, in tic
        cls.release(lock); cls.acquire(lock)
      File "neo/tests/threaded/__init__.py", line 88, in acquire
        elif threading.currentThread() in cls.pending:
    TypeError: argument of type 'int' is not iterable
    c154e45a
Name
Last commit
Last update
neo Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
CHANGES Loading commit data...
MANIFEST.in Loading commit data...
README Loading commit data...
TESTS.txt Loading commit data...
TODO Loading commit data...
UPGRADE Loading commit data...
ZODB3.patch Loading commit data...
neo.conf Loading commit data...
neoadmin Loading commit data...
neoctl Loading commit data...
neomaster Loading commit data...
neomigrate Loading commit data...
neostorage Loading commit data...
setup.py Loading commit data...