Skip to content

Commit

Permalink
SQUASHME: some other tests are directly manipulating the conf file
Browse files Browse the repository at this point in the history
So ensure that after that happens we re-set the excludes
  • Loading branch information
rcritten committed Nov 15, 2023
1 parent 8b38952 commit b3070ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ipatests/test_integration/test_ipahealthcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def install(cls, mh):
setup_dns=True,
extra_args=['--no-dnssec-validation']
)
set_excludes(cls.master, "key", "DSCLE0004")
set_excludes(self.master, "key", "DSCLE0004")

def test_ipa_healthcheck_install_on_master(self):
"""
Expand Down Expand Up @@ -586,6 +586,7 @@ def test_ipahealthcheck_ca_not_configured(self):
setup_dns=True,
extra_args=['--no-dnssec-validation']
)
set_excludes(self.replicas[0], "key", "DSCLE0004")

# Init a user on replica to assign a DNA range
tasks.kinit_admin(self.replicas[0])
Expand Down Expand Up @@ -732,6 +733,7 @@ def test_ipa_healthcheck_no_errors_with_overrides(self):
'output_type=human'
])
)
set_excludes(cls.master, "key", "DSCLE0004")
returncode, output = run_healthcheck(
self.master, failures_only=True, config=config_file
)
Expand All @@ -747,6 +749,7 @@ def test_ipa_healthcheck_no_errors_with_overrides(self):
'output_file=%s' % HC_LOG,
])
)
set_excludes(cls.master, "key", "DSCLE0004")
returncode, _unused = run_healthcheck(
self.master, config=config_file
)
Expand Down

0 comments on commit b3070ad

Please sign in to comment.