Skip to content

Commit

Permalink
test: Adjust TestConnection.testTls for centos-9-bootc
Browse files Browse the repository at this point in the history
That image does not have certmonger (and we don't need it - we already
run the test on CentOS 9 stream rpm).
  • Loading branch information
martinpitt authored and jelly committed Jan 30, 2025
1 parent b204c42 commit 5d3ac37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/verify/check-connection
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ class TestConnection(testlib.MachineCase):

# certmonger generated certificate; asciibetically later than the above
# not all images have certmonger
if m.image not in ["debian-stable", "debian-testing", "fedora-coreos", "arch"]:
if m.image not in ["debian-stable", "debian-testing", "fedora-coreos", "arch", "centos-9-bootc"]:
hostname = m.execute("hostname --fqdn").strip()
m.execute(f"getcert request -f /etc/cockpit/ws-certs.d/monger.cert -k /etc/cockpit/ws-certs.d/monger.key -D {hostname} --ca=local --wait")
self.addCleanup(m.execute, "getcert stop-tracking -f /etc/cockpit/ws-certs.d/monger.cert")
Expand Down

0 comments on commit 5d3ac37

Please sign in to comment.