Skip to content

Test foreman.target stops and starts IOP services - #711

Merged
ekohl merged 8 commits into
theforeman:masterfrom
aidenfine:iop-target-lifecycle-test
Jul 31, 2026
Merged

Test foreman.target stops and starts IOP services#711
ekohl merged 8 commits into
theforeman:masterfrom
aidenfine:iop-target-lifecycle-test

Conversation

@aidenfine

Copy link
Copy Markdown
Contributor

Note: duplicate of #701 due to PTO.

Summary

  • Adds a test under tests/feature/iop/ verifying that systemctl stop foreman.target brings down all IOP containers and systemctl start foreman.target brings them back.
  • Auto-skipped when IOP is not enabled (feature guarding via conftest).
  • Marked as slow since it involves a full stop/start cycle (~2 min).

Context

Companion test for #592 which adds PartOf=foreman.target and WantedBy=foreman.target to all IOP quadlet units.

🤖 Generated with Claude Code

vsedmik and others added 3 commits July 23, 2026 19:24
Verify that systemctl stop foreman.target brings down all IOP
containers and that starting it brings them back.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread tests/feature/iop/test_target_lifecycle.py Outdated
Comment thread tests/feature/iop/test_target_lifecycle.py Outdated
Comment thread development/requirements.txt Outdated
Comment thread tests/feature/iop/test_target_lifecycle.py Outdated
@ekohl
ekohl merged commit 9ffe360 into theforeman:master Jul 31, 2026
16 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.

4 participants