Skip to content

tests: Fixes deployment instances cleanup leak#468

Open
claudiubelu wants to merge 1 commit into
cloudbase:masterfrom
claudiubelu:integration-tests-fix-leak
Open

tests: Fixes deployment instances cleanup leak#468
claudiubelu wants to merge 1 commit into
cloudbase:masterfrom
claudiubelu:integration-tests-fix-leak

Conversation

@claudiubelu

Copy link
Copy Markdown
Member

During test_replica_deployment_crud we delete the deployment for testing purposes. Because of that, self._cleanup_deployment won't have the deployment record needed to get the list of deployed instances to clean up.

We can register the cleanup with the list of deployment instances known at that time.

During test_replica_deployment_crud we delete the deployment for testing
purposes. Because of that, self._cleanup_deployment won't have the
deployment record needed to get the list of deployed instances to clean
up.

We can register the cleanup with the list of deployment instances
known at that time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant