mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 08:59:57 -06:00
ipatests: restart ipa services after moving date
When system date is moved into future, it have unprecedented behavior i.e CA becomes irresponsive or unexpected certificcate state. Hence restart the ipa service after moving the date to gracefully serve the request. Fixes: https://pagure.io/freeipa/issue/9379 Signed-off-by: Mohammad Rizwan <myusuf@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
1 parent
bc9385d15c
commit
9c10d7ee2c
1 file changed
+3
@@ -408,6 +408,9 @@ class TestCertFixReplica(IntegrationTest):
|
||||
# move system date to expire certs
|
||||
for host in self.master, self.replicas[0]:
|
||||
tasks.move_date(host, 'stop', '+3years+1days')
|
||||
host.run_command(
|
||||
['ipactl', 'restart', '--ignore-service-failures']
|
||||
)
|
||||
|
||||
yield
|
||||
|
||||
|
||||
Reference in new issue
Block a user