functional-tests: Fix logic error in await_resource_inserted() helper
Each Helper instance only supports waiting for one resource at a time. As a safeguard it starts by asserting that its internal state is all unset. However, in some cases it would fail to clear the variables causing spurious assertion failures.
Showing with 2 additions and 3 deletions