Skip to content

Commit

Permalink
fix: check client_keys existence after deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
nbertoldo committed May 23, 2024
1 parent e62180d commit 1cbc994
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/test_agentd/test_agentd_reconnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ def delete_keys():
"""Remove the agent's client.keys file."""
os.remove(CLIENT_KEYS_PATH)
sleep(1)
if os.path.exists(CLIENT_KEYS_PATH):
raise Exception(f"'{CLIENT_KEYS_PATH}' could not be removed")


def set_keys():
Expand Down

0 comments on commit 1cbc994

Please sign in to comment.