From 7e40fa3415c6623b8cb9e7e9ae7c80733fc6bddd Mon Sep 17 00:00:00 2001 From: Patrik Stas Date: Wed, 15 Nov 2023 18:42:26 +0100 Subject: [PATCH] Stabilize test Signed-off-by: Patrik Stas --- aries_vcx/tests/test_pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aries_vcx/tests/test_pool.rs b/aries_vcx/tests/test_pool.rs index aee0a59ee9..e20f093139 100644 --- a/aries_vcx/tests/test_pool.rs +++ b/aries_vcx/tests/test_pool.rs @@ -290,6 +290,7 @@ async fn test_pool_multiple_service_formats() -> Result<(), Box> { .set_recipient_keys(vec!["did:sov:123".into()]) .set_routing_keys(vec!["did:sov:456".into()]); write_endpoint_legacy(&setup.wallet, &setup.ledger_write, &did, &service_1).await?; + thread::sleep(Duration::from_millis(50)); // Get service and verify it is in the old format let service = get_service(&setup.ledger_read, &did).await?; @@ -302,7 +303,6 @@ async fn test_pool_multiple_service_formats() -> Result<(), Box> { .set_service_endpoint(endpoint_url_2.parse()?) .set_routing_keys(Some(routing_keys_2.clone())); write_endpoint(&setup.wallet, &setup.ledger_write, &did, &service_2).await?; - thread::sleep(Duration::from_millis(50)); // Get service and verify it is in the new format