Skip to content

Commit

Permalink
TESTS: Give KDC time to initialize
Browse files Browse the repository at this point in the history
Some PAM tests sometimes fail because they starts before KDC has
finished its initialization. Adding a short delay to let it complete
its initialization before launching the actual tests.
  • Loading branch information
aplopez committed Oct 18, 2023
1 parent b14a773 commit c274dd8
Showing 1 changed file with 1 addition and 0 deletions.
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 c274dd8

Please sign in to comment.