You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: