Skip to content

integration: Various test fixes and cleanup#440

Merged
petrutlucian94 merged 3 commits into
cloudbase:masterfrom
claudiubelu:integration-tests-fixes
May 26, 2026
Merged

integration: Various test fixes and cleanup#440
petrutlucian94 merged 3 commits into
cloudbase:masterfrom
claudiubelu:integration-tests-fixes

Conversation

@claudiubelu
Copy link
Copy Markdown
Member

  • Refactor Importer / Exporter class references. They are now referenced through the harness. This will allow them to be swapped in the future.
  • Refactor Importer / Exporter connection info.
  • Correctly skip Import provider that does not support minion pools. This needs to be done earlier, so the minion pool isn't created on a provider that do not support them.
  • raise AssertionError instead of using cls.fail.
  • On transfer execution, we now cancel the execution before deleting it.
  • On deployments, we now cancel the deployment before deleting it.
  • Updates integration tests' README.md file with up-to-date information.

Comment thread coriolis/tests/integration/base.py Outdated
"""
ctxt = self._get_db_context()
try:
deployment = db_api.get_deployment(ctxt, deployment_id)
Copy link
Copy Markdown
Member

@petrutlucian94 petrutlucian94 May 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mixing DB requests with Coriolis API requests feels a bit odd but I guess it's reasonable in this case.

@claudiubelu claudiubelu force-pushed the integration-tests-fixes branch from 0c89d41 to 79b3c52 Compare May 25, 2026 22:21
- On transfer execution, we now cancel the execution before deleting it.
- On deployments, we now cancel the deployment before deleting it.
- Fix string formatting in wait_for_execution.
- Add last state in wait_for_deployment failure.
- Refactor Importer / Exporter class references. They are now referenced
  through the harness. This will allow them to be swapped in the future.
- Refactor Importer / Exporter connection info.
- Correctly skip Import provider that does not support minion pools.
  This needs to be done earlier, so the minion pool isn't created on a
  provider that do not support them.
- raise AssertionError instead of using cls.fail.
@claudiubelu claudiubelu force-pushed the integration-tests-fixes branch from 79b3c52 to 6d03dbd Compare May 25, 2026 22:24
@petrutlucian94 petrutlucian94 merged commit 1531b15 into cloudbase:master May 26, 2026
5 checks passed
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.

2 participants