Skip to content

chore(tests): remove deployment status cycle test covered by cross-service tests - #1923

Open
p-targowicz wants to merge 1 commit into
mainfrom
QA-1638-remove-duplicate-deployment-service-tests
Open

chore(tests): remove deployment status cycle test covered by cross-service tests#1923
p-targowicz wants to merge 1 commit into
mainfrom
QA-1638-remove-duplicate-deployment-service-tests

Conversation

@p-targowicz

@p-targowicz p-targowicz commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Removes the deployments acceptance test test_device_deployments_full: the
full device deployment status cycle is covered by the integration:ng Go
runner (TestDeploymentStatusUpdate / TestDeploymentStatusUpdateToGroup in
backend/tests/runner, see #2034), which walks the complete status
progression including the pause substates, verifies deployment statistics
at every step, asserts the mid-cycle re-poll returns the same deployment,
and covers the post-finish success-to-failure override - i.e. every
assertion of the removed test, plus the negative cases (device not in
deployment 404, invalid status 400).

The sibling acceptance tests remain: they own concerns the runner does not
duplicate (internal mongo state checks, artifact-in-use 409, abort
lifecycle, changed-device-type 409 path).

Depends on #2034.

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@p-targowicz
p-targowicz requested review from merlin-northern and mzedel and removed request for mzedel June 25, 2026 08:24
@p-targowicz
p-targowicz force-pushed the QA-1638-remove-duplicate-deployment-service-tests branch from d2505ae to 594f39f Compare July 14, 2026 12:41
…rvice tests

test_device_deployments_full walked the full downloading→installing→
rebooting→success status cycle using a fake device. The same cycle is
already covered by TestDeploymentsStatusUpdate in the cross-service
integration tests which also exercises the full service stack. Remove
the redundant service-level test.

Ticket: QA-1638
Changelog: None
Signed-off-by: Patryk Targowicz <patryk.targowicz@northern.tech>
@p-targowicz
p-targowicz force-pushed the QA-1638-remove-duplicate-deployment-service-tests branch from 594f39f to 6d1cd14 Compare July 17, 2026 08:11
@mender-test-bot

Copy link
Copy Markdown
Contributor

There was an error syncing branches, see logs for details.

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