Description:
Currently, the integration tests have dependencies where one test relies on the successful completion of another, specifically regarding machine deletion. If the deletion of a machine is not fully completed before the execution of the next test, it can cause inconsistencies, such as in the ListMachine test case.
In the ListMachine test, the current expectation is that the machine count should be 1. However, if the previous test has not finished deleting a machine, the list may include more than one machine, causing the test to fail.
To ensure reliable and independent test execution, this dependency issue needs to be resolved. The tests should be refactored to ensure that each test can run independently without relying on the state changes (such as machine deletion) from the previous tests.
Ref: https://github.com/ironcore-dev/libvirt-provider/actions/runs/10451444191/job/28937878022?pr=370