create a test for finalizers

Description

In this PR we created finalizer "delete-ps-pods-in-order-finalizer".
We need to cover it with automatic test, either a separate one if it makes sense or add somewhere in existing test.

Environment

None

Smart Checklist

Activity

Show:

Tomislav Plavcic August 23, 2023 at 6:47 AM

If I understand correctly we have covered delete-ssl finalizer with integration test here: https://github.com/percona/percona-server-mysql-operator/blob/main/pkg/controller/ps/tls_test.go
And I think we should probably write unit/integration test for "delete-ps-pods-in-order" finalizer unless you think that for some reason we should specifically have E2E test for this?

inel.pandzic March 21, 2023 at 2:15 PM

we should also cover `delete-ssl` finalizer with e2e tests.

Done

Details

Assignee

Reporter

Labels

Needs QA

Yes

Story Points

Components

Fix versions

Affects versions

Priority

Smart Checklist

Created September 19, 2022 at 9:56 AM
Updated June 13, 2024 at 9:51 AM
Resolved June 13, 2024 at 9:51 AM