diff --git a/scripts/nextest.sh b/scripts/nextest.sh index 3d124e50e4..e0b5363a74 100755 --- a/scripts/nextest.sh +++ b/scripts/nextest.sh @@ -22,7 +22,20 @@ cargo nextest -V >/dev/null 2>&1 || cargo install cargo-nextest --version "0.9.5 # --retries 2, a correct test case usually takes no more than 3 tries to pass # --build-jobs 8, a little (~20s) faster than 5 or 10 build jobs cargo nextest run --workspace \ --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