Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virt-controller, unit-test: Adapt to ginkgo 2.0
The suites were missing a call to gomock.Controller.Finish(), which verifies calls made to mocks. With ginkgo v2, support in GinkgoT() was extended and now Finish doesn't have to be called explicitly anymore. The suites started to fail, as there were missing or uncalled methods. Use MaxTimes (the call can be removed as well, but first lets verify that it doesn't show the test need to be updated). Signed-off-by: Or Shoval <[email protected]>
- Loading branch information