chore: bump ef-tests stack size (#5585)

This commit is contained in:
Matthias Seitz
2023-11-27 13:32:00 +01:00
committed by GitHub
parent 02e4135bb4
commit 846a377f8e
2 changed files with 13 additions and 9 deletions

View File

@ -6,7 +6,18 @@ macro_rules! general_state_test {
($test_name:ident, $dir:ident) => {
#[test]
fn $test_name() {
BlockchainTests::new(format!("GeneralStateTests/{}", stringify!($dir))).run();
// TODO: can be removed with revm call-loop support
// <https://github.com/paradigmxyz/reth/issues/5582>
std::thread::Builder::new()
.stack_size(
1024 * 1024 * 4, // 4MB
)
.spawn(move || {
BlockchainTests::new(format!("GeneralStateTests/{}", stringify!($dir))).run();
})
.unwrap()
.join()
.unwrap();
}
};
}