Skip to content

Commit

Permalink
chore(drun): Enable canister snapshots (#1240)
Browse files Browse the repository at this point in the history
Enable the canister snapshot feature in `drun` for Motoko tests.
  • Loading branch information
luc-blaeser committed Aug 30, 2024
1 parent 8afebfa commit 083bcfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rs/drun/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ async fn drun_main() -> Result<(), String> {
.rate_limiting_of_debug_prints = FlagStatus::Disabled;
default_config.hypervisor.rate_limiting_of_heap_delta = FlagStatus::Disabled;
default_config.hypervisor.rate_limiting_of_instructions = FlagStatus::Disabled;
default_config.hypervisor.canister_snapshots = FlagStatus::Enabled;
let cfg = Config::load_with_default(&source, default_config).unwrap_or_else(|err| {
eprintln!("Failed to load config:\n {}", err);
std::process::exit(1);
Expand Down

0 comments on commit 083bcfd

Please sign in to comment.