Skip to content

Commit

Permalink
Fix itest typo
Browse files Browse the repository at this point in the history
  • Loading branch information
saltiyazan committed Sep 14, 2024
1 parent 51e0cc7 commit daa77a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,16 @@ async def test_given_tls_requirer_is_integrated_when_certificate_expires_then_ne
action_output = await wait_for_requirer_certificates(
ops_test=ops_test, ca_common_name=new_common_name
)
old_certificate = action_output.get("ca-certificate", "")
old_certificate = action_output.get("certificate", "")

assert old_certificate

time.sleep(30)
time.sleep(35)

action_output = await wait_for_requirer_certificates(
ops_test=ops_test, ca_common_name=new_common_name
)
new_certificate = action_output.get("ca-certificate", "")
new_certificate = action_output.get("certificate", "")
assert new_certificate
assert new_certificate != old_certificate

Expand Down

0 comments on commit daa77a0

Please sign in to comment.