pr 00.1 change run budget to remove hardware constraints
This commit is contained in:
@@ -47,9 +47,10 @@ fn test_canonical_cartridge_heartbeat() {
|
||||
|
||||
let mut native = MockNative;
|
||||
let mut hw = Hardware::new();
|
||||
let mut ctx = HostContext::new(Some(&mut hw));
|
||||
|
||||
// Run for a reasonable budget
|
||||
let report = vm.run_budget(1000, &mut native, &mut hw).expect("VM failed to run");
|
||||
let report = vm.run_budget(1000, &mut native, &mut ctx).expect("VM failed to run");
|
||||
|
||||
// Acceptance criteria:
|
||||
// 1. No traps
|
||||
|
||||
Reference in New Issue
Block a user