ソースを参照

chore: debug other errors

thesimplekid 1 ヶ月 前
コミット
089f05149d
1 ファイル変更5 行追加5 行削除
  1. 5 5
      crates/cdk-integration-tests/tests/mint.rs

+ 5 - 5
crates/cdk-integration-tests/tests/mint.rs

@@ -241,16 +241,16 @@ async fn test_concurrent_duplicate_payment_handling() {
         "Exactly one task should successfully process the payment (got {})",
         success_count
     );
-    assert_eq!(
-        duplicate_errors, 9,
-        "Nine tasks should receive Duplicate error (got {})",
-        duplicate_errors
-    );
     assert!(
         other_errors.is_empty(),
         "No unexpected errors should occur. Got: {:?}",
         other_errors
     );
+    assert_eq!(
+        duplicate_errors, 9,
+        "Nine tasks should receive Duplicate error (got {})",
+        duplicate_errors
+    );
 
     // Verify the quote was incremented exactly once
     let final_quote = MintQuotesDatabase::get_mint_quote(&*database, &mint_quote.id)