Skip to content

Race conditions in test #1410

@thesimplekid

Description

@thesimplekid

1:

test mint::swap::tests::p2pk_sigall_spending_conditions_tests::test_sig_all_should_reject_if_the_output_amounts_are_swapped ... ok
test mint::swap::tests::p2pk_spending_conditions_tests::test_p2pk_locktime_after_expiry_no_refund_anyone_can_spend ... ok
test mint::swap::tests::p2pk_spending_conditions_tests::test_p2pk_multisig_locktime ... ok
test mint::swap::tests::p2pk_spending_conditions_tests::test_p2pk_signed_by_wrong_person ... ok
test mint::swap::tests::p2pk_spending_conditions_tests::test_p2pk_single_pubkey_requires_all_proofs_signed ... ok
test mint::swap::tests::p2pk_spending_conditions_tests::test_p2pk_multisig_2of3 ... ok
test mint::melt::melt_saga::tests::test_operation_id_uniqueness_and_tracking ... ok

failures:

---- mint::swap::swap_saga::tests::test_swap_saga_compensation_clears_on_success stdout ----

thread 'mint::swap::swap_saga::tests::test_swap_saga_compensation_clears_on_success' (27168) panicked at crates/cdk/src/mint/swap/swap_saga/tests.rs:439:43:
Finalize should succeed: Database(Database("Test failure: ADD_SIGNATURES"))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    mint::swap::swap_saga::tests::test_swap_saga_compensation_clears_on_success

test result: FAILED. 221 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 23.77s

error: test failed, to rerun pass `-p cdk --lib`
error: Recipe `test` failed with exit code 101

2:

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions