Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ test-group = 'serial'
filter = 'test(/.*slow_.*/)'
slow-timeout = { period = "90s", terminate-after = 2 }
threads-required = 2
priority = 100
priority = 90

# heavy tests
[[profile.default.overrides]]
filter = 'test(/.*heavy_.*/)'
threads-required = 2
priority = 90
priority = 80

# heavy tests
[[profile.default.overrides]]
filter = 'test(/.*heavy2x_.*/)'
threads-required = 4
priority = 100
7 changes: 7 additions & 0 deletions crates/actors/proptest-regressions/cache_service.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Seeds for failure cases proptest has generated in the past. It is
# automatically read and these particular cases re-run before any
# novel cases are generated.
#
# It is recommended to check this file in to source control so that
# everyone who runs the test benefits from these saved cases.
cc 3c16a1c587d184ab7153c0c45192de59ba07b214a185dab49dd4485f2adbadb0 # shrinks to timestamps = [UnixTimestamp(1577836800), UnixTimestamp(1680972744), UnixTimestamp(1645822637), UnixTimestamp(1636808891), UnixTimestamp(1864380689)]
2 changes: 2 additions & 0 deletions crates/chain/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ pub fn load_config() -> eyre::Result<NodeConfig> {

debug!("Loading config from {:?}", &config_path);
let mut config = match std::fs::read_to_string(&config_path)
// TODO: use serde_path_to_error so we can report exactly what paths are problematic (better UX)
// see [nextest](https://github.com/nextest-rs/nextest/blob/main/nextest-runner/src/config/core/imp.rs#L832)
.map(|config_file| toml::from_str::<NodeConfig>(&config_file).expect("invalid config file"))
{
Ok(cfg) => cfg,
Expand Down
2 changes: 1 addition & 1 deletion crates/chain/tests/multi_node/fork_recovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ async fn slow_heavy_fork_recovery_submit_tx_test() -> eyre::Result<()> {
/// - Reth FCU propagation (`Latest`, `Safe`, `Finalized`) matching the canonical/migrated blocks.
/// - Reth latest tags on both nodes reflect their respective fork tips before the reorg.
#[test_log::test(tokio::test)]
async fn heavy_shallow_fork_triggers_migration_prune_and_fcu() -> eyre::Result<()> {
async fn heavy2x_shallow_fork_triggers_migration_prune_and_fcu() -> eyre::Result<()> {
let seconds_to_wait = 20;
let num_blocks_in_epoch = 3;
let block_tree_depth: u64 = 6;
Expand Down
Loading