We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b7a479 commit f3cf7a1Copy full SHA for f3cf7a1
1 file changed
crates/revmc-runtime/src/runtime/tests.rs
@@ -285,10 +285,7 @@ fn set_enabled_toggle() {
285
286
#[test]
287
fn lookup_increments_miss_counter() {
288
- let tb = TestBackend::with_tuning_1w(RuntimeTuning {
289
- jit_hot_threshold: 1000,
290
- ..Default::default()
291
- });
+ let tb = TestBackend::new(RuntimeConfig { enabled: true, ..Default::default() });
292
293
for _ in 0..10 {
294
let _ = tb.lookup(TestBackend::req_cancun(BYTECODE_RET42));
@@ -298,7 +295,6 @@ fn lookup_increments_miss_counter() {
298
295
let stats = tb.wait_stats(|s| s.lookup_misses == 10);
299
296
assert_eq!(stats.lookup_misses, 10);
300
297
assert_eq!(stats.lookup_hits, 0);
301
- assert_eq!(stats.compilations_dispatched, 0);
302
}
303
304
0 commit comments