Skip to content

Commit

Permalink
update nextest.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjiao committed Dec 14, 2024
1 parent 00034a1 commit 7fc8e54
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion scripts/nextest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,20 @@ cargo nextest -V >/dev/null 2>&1 || cargo install cargo-nextest --version "0.9.5
# --build-jobs 8, a little (~20s) faster than 5 or 10 build jobs
cargo nextest run --workspace \
--exclude starcoin-consensus \
-E 'not (test(block_connector::test_write_dag_block_chain::test_block_dag_chain_switch_main)) and not (test(block_connector::test_write_dag_block_chain::test_full_sync_continue)) and not (test(tasks::tests::test_full_sync_continue)) and not (test(tasks::tests::test_full_sync_fork)) and not (test(tasks::tests::test_full_sync_fork_from_genesis)) and not (test(tasks::tests::test_full_sync_new_node)) and not (test(tasks::tests::test_sync_block_in_async_connection)) and not (test(tasks::tests_dag::test_continue_sync_dag_blocks)) and not (test(tasks::tests_dag::test_sync_dag_blocks)) and not (test(test_sync_and_notification)) and not (test(block_connector::test_write_dag_block_chain::test_block_dag_chain_switch_main)) and not (test(block_connector::test_illegal_block::test_verify_consensus_failed)) and not (test(tasks::tests::test_full_sync_cancel))'
-E \
'not (test(block_connector::test_write_dag_block_chain::test_block_dag_chain_switch_main)) \
and not (test(block_connector::test_write_dag_block_chain::test_full_sync_continue)) \
and not (test(tasks::tests::test_full_sync_continue)) \
and not (test(tasks::tests::test_full_sync_fork)) \
and not (test(tasks::tests::test_full_sync_fork_from_genesis)) \
and not (test(tasks::tests::test_full_sync_new_node)) \
and not (test(tasks::tests::test_sync_block_in_async_connection)) \
and not (test(tasks::tests_dag::test_continue_sync_dag_blocks)) \
and not (test(tasks::tests_dag::test_sync_dag_blocks)) \
and not (test(test_sync_and_notification)) \
and not (test(block_connector::test_write_dag_block_chain::test_block_dag_chain_switch_main)) \
and not (test(block_connector::test_illegal_block::test_verify_consensus_failed)) \
and not (test(tasks::tests::test_full_sync_cancel))' \
--retries 2 --build-jobs 8 --test-threads 12 --no-fail-fast --failure-output immediate-final


Expand Down

0 comments on commit 7fc8e54

Please sign in to comment.