[PATCH] qmgr/tests: Fix issues with handling of transient errors