From e54548b125cf368822c1f15e3e2458173f8cc230 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Wed, 2 Oct 2024 08:55:38 +0200 Subject: [PATCH] chore: add sleep between quote and mint --- crates/cdk-integration-tests/tests/fake_wallet.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/cdk-integration-tests/tests/fake_wallet.rs b/crates/cdk-integration-tests/tests/fake_wallet.rs index 59b74484..e120a4a2 100644 --- a/crates/cdk-integration-tests/tests/fake_wallet.rs +++ b/crates/cdk-integration-tests/tests/fake_wallet.rs @@ -334,6 +334,8 @@ async fn test_fake_melt_change_in_quote() -> Result<()> { let mint_quote = wallet.mint_quote(100.into(), None).await?; + sleep(Duration::from_millis(5)).await; + let _mint_amount = wallet .mint(&mint_quote.id, SplitTarget::default(), None) .await?;