diff --git a/tests/utils.py b/tests/utils.py index a1dfa7d8e..7c35461ec 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -666,7 +666,6 @@ def poll_cq_ex(cqex, count=1, data=None, sgid=None): if isinstance(cqex, EfaCQ): if sgid is not None and cqex.read_opcode() == e.IBV_WC_RECV: assert sgid.gid == cqex.read_sgid().gid - count -= 1 if count > 0: raise PyverbsError(f'Got timeout on polling ({count} CQEs remaining)') finally: