diff --git a/src/runtime2/tests/mod.rs b/src/runtime2/tests/mod.rs index 3c2ce3c1a3b75f637a20b7534adf698a2395cefd..46cf663a10725b3578b54782bfb256bb79b8cc93 100644 --- a/src/runtime2/tests/mod.rs +++ b/src/runtime2/tests/mod.rs @@ -10,9 +10,14 @@ use crate::protocol::eval::*; use crate::runtime2::native::{ApplicationSyncAction}; // Generic testing constants, use when appropriate to simplify stress-testing -pub(crate) const NUM_THREADS: u32 = 3; // number of threads in runtime -pub(crate) const NUM_INSTANCES: u32 = 7; // number of test instances constructed -pub(crate) const NUM_LOOPS: u32 = 8; // number of loops within a single test (not used by all tests) +// pub(crate) const NUM_THREADS: u32 = 3; // number of threads in runtime +// pub(crate) const NUM_INSTANCES: u32 = 7; // number of test instances constructed +// pub(crate) const NUM_LOOPS: u32 = 8; // number of loops within a single test (not used by all tests) + +pub(crate) const NUM_THREADS: u32 = 1; +pub(crate) const NUM_INSTANCES: u32 = 1; +pub(crate) const NUM_LOOPS: u32 = 1; + fn create_runtime(pdl: &str) -> Runtime { let protocol = ProtocolDescription::parse(pdl.as_bytes()).expect("parse pdl");