Skip to content

Commit

Permalink
add sleep to work around acapy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Jun 11, 2024
1 parent 792bf7e commit 8292ac7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/tests/e2e/verifier/test_proof_revoked_credential.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ async def test_proof_revoked_credential(
acme_and_alice_connection: AcmeAliceConnect,
protocol_version: str,
):
time.sleep(7) # moment for revocation registry to update
# todo: remove sleep when issue resolved: https://github.com/hyperledger/aries-cloudagent-python/issues/3018

# Do proof request
request_body = {
"protocol_version": protocol_version,
Expand Down Expand Up @@ -136,6 +139,9 @@ async def test_regression_proof_revoked_credential(
alice_member_client: RichAsyncClient,
acme_and_alice_connection: AcmeAliceConnect,
):
time.sleep(7) # moment for revocation registry to update
# todo: remove sleep when issue resolved: https://github.com/hyperledger/aries-cloudagent-python/issues/3018

referent = get_or_issue_regression_cred_revoked.referent
credential_definition_id_revocable = (
get_or_issue_regression_cred_revoked.cred_def_revocable
Expand Down

0 comments on commit 8292ac7

Please sign in to comment.