We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c67b94 commit af26283Copy full SHA for af26283
src/hyperlight_host/benches/benchmarks.rs
@@ -142,9 +142,9 @@ fn guest_call_benchmark(c: &mut Criterion) {
142
start_barrier_clone.wait();
143
144
// Small delay to ensure the guest function is running in VM before interrupting
145
- thread::sleep(std::time::Duration::from_millis(1));
+ thread::sleep(std::time::Duration::from_millis(10));
146
let kill_start = Instant::now();
147
- interrupt_handle.kill();
+ assert!(interrupt_handle.kill());
148
kill_start
149
});
150
0 commit comments