operator-framework / ansible-operator-plugins

Experimental extraction/refactoring of the Operator SDK's ansible operator plugin
Apache License 2.0
7 stars 17 forks source link

End To End Tests Do Not Cleanup On Failure(s) #52

Open acornett21 opened 5 months ago

acornett21 commented 5 months ago

Bug Report

What did you do?

I ran the end to end tests via make test-e2e

What did you expect to see?

I expect the tests to run to completion (even if there is a failure), and then proceed to cleanup the cluster, docker images, etc.

What did you see instead? Under which circumstances?

The tests stop on a failure and then do not call cleanup.

Possible Solution

N/A

Additional context

I think the real issue is that some of the cleanup is done in the make file of the project, the make file of the operator under test, and the AfterSuite by the ginko test execution. All cleanup should be moved to one localtion/process where possible. If that is not possibe, each location should be referenced, and point to the other locations via documentation in the main make file.