Skip to content

Commit

Permalink
Keep std::thread::sleep in test setup method
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Stas <[email protected]>
  • Loading branch information
Patrik-Stas committed Sep 25, 2023
1 parent 2c5ce2c commit 297e5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aries_vcx/src/common/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub async fn create_and_write_test_schema(
.await
.unwrap();
let schema = schema.publish(ledger_write).await.unwrap();
tokio::time::sleep(Duration::from_millis(500)).await;
std::thread::sleep(Duration::from_millis(500));
schema
}

Expand Down

0 comments on commit 297e5fc

Please sign in to comment.