From 8292ac773807f54519c264a4cd058ced4cd3c12f Mon Sep 17 00:00:00 2001 From: ff137 Date: Tue, 11 Jun 2024 20:38:01 +0300 Subject: [PATCH] add sleep to work around acapy issue --- app/tests/e2e/verifier/test_proof_revoked_credential.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/tests/e2e/verifier/test_proof_revoked_credential.py b/app/tests/e2e/verifier/test_proof_revoked_credential.py index b7e906d5c..67e3b1fce 100644 --- a/app/tests/e2e/verifier/test_proof_revoked_credential.py +++ b/app/tests/e2e/verifier/test_proof_revoked_credential.py @@ -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, @@ -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