GithubHelp home page GithubHelp logo

Comments (5)

D4nte avatar D4nte commented on May 30, 2024

Finding:

0.000s alice::tests::one_bitcoin_equals_a_hundred_moneroj
0.000s rpc::tests::can_serialize_request_with_params
0.000s serde::tests::serde_monero_amount
0.000s serde::tests::serde_monero_private_key
0.003s storage::tests::can_write_twice_to_one_key
0.176s storage::tests::can_write_and_read_to_multiple_keys
0.180s storage::tests::can_fetch_all_keys
148.048s init_miner_and_mine_to_miner_address
271.141s fund_transfer_and_check_tx_key
289.549s on_chain_happy_path
311.959s tests::alice_punishes
311.995s on_chain_alice_punishes_if_bob_never_acts_after_fund
314.950s tests::both_refund
322.650s on_chain_both_refund_if_alice_never_redeems
329.596s happy_path
342.963s tests::happy_path
404.081s alice_punishes_if_bob_never_acts_after_fund

Total: 2770s = 46min (sequentially)

from xmr-btc-swap.

D4nte avatar D4nte commented on May 30, 2024

Reduce to 23 min by deleting dupe tests 2acfc81

from xmr-btc-swap.

D4nte avatar D4nte commented on May 30, 2024
0.000s alice::tests::one_bitcoin_equals_a_hundred_moneroj
0.000s rpc::tests::can_serialize_request_with_params
0.000s serde::tests::serde_monero_amount
0.000s serde::tests::serde_monero_private_key
0.003s storage::tests::can_write_twice_to_one_key
0.220s storage::tests::can_write_and_read_to_multiple_keys
0.222s storage::tests::can_fetch_all_keys
149.041s init_miner_and_mine_to_miner_address
274.325s fund_transfer_and_check_tx_key
322.746s tests::both_refund
328.628s happy_path
415.266s alice_punishes_if_bob_never_acts_after_fund

from xmr-btc-swap.

thomaseizinger avatar thomaseizinger commented on May 30, 2024

Is this resolved for now by parallelizing the test execution?

from xmr-btc-swap.

D4nte avatar D4nte commented on May 30, 2024

Done:

  • removed old irrelevant tests
  • Introduced execution in parallel in CI.

Proposed steps forward if needed:

  • Mock blockchain nodes for most tests
  • Only keep one test by protocol path with the blockchain nodes (ie, happy path, refund, punish)

from xmr-btc-swap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.