@_Repeat
  def testWaitingSharerBlocksExclusive(self):
    return

    self.sl.acquire()
    # the lock is acquired in exclusive mode...
    self._addThread(target=self._doItSharer)
    # ...but now a sharer is waiting...
    self._addThread(target=self._doItExclusive)
    # ...the exclusive is waiting too...
    self.assertRaises(Queue.Empty, self.done.get_nowait)
    self.sl.release()
    self._waitThreads()
    # The sharer passed before
    self.assertEqual(self.done.get_nowait(), "SHR")
    self.assertEqual(self.done.get_nowait(), "EXC")
SKIPPED testWaitingSharerBlocksExclusive
dataset/ETHPy150Open ganeti/ganeti/test/py/ganeti.locking_unittest.py/TestSharedLock.testWaitingSharerBlocksExclusive