Skip to content

Commit

Permalink
KCM: Adapt the tests
Browse files Browse the repository at this point in the history
This is an exploratory commit. Not yet ready to be pushed.
  • Loading branch information
aplopez committed Oct 17, 2023
1 parent bef8df5 commit 0a108f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tests/intg/test_kcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ def kcm_teardown():
except OSError as osex:
if osex.errno == 2:
pass
try:
os.unlink(abs_sock_path)
except OSError as osex:
if osex.errno == 2:
pass

request.addfinalizer(kcm_teardown)
return kcm_pid
Expand Down
1 change: 1 addition & 0 deletions src/tests/intg/test_pam_responder.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,7 @@ def setup_krb5(request, kdc_instance, passwd_ops_setup):
passwd_ops_setup.useradd(**USER2)
kdc_instance.add_principal("user1", "Secret123User1")
kdc_instance.add_principal("user2", "Secret123User2")
time.sleep(2) # Give KDC time to initialize
return None


Expand Down

0 comments on commit 0a108f2

Please sign in to comment.