Sfoglia il codice sorgente

chore: add sleep between quote and mint

thesimplekid 8 mesi fa
parent
commit
e54548b125
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      crates/cdk-integration-tests/tests/fake_wallet.rs

+ 2 - 0
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?;