@@ -325,13 +325,21 @@ fn backend_clone() {
325325
326326#[ test]
327327fn compile_jit_enqueue ( ) {
328- let tb = TestBackend :: with_tuning ( RuntimeTuning { jit_worker_count : 0 , ..Default :: default ( ) } ) ;
328+ let tb = TestBackend :: new ( RuntimeConfig {
329+ enabled : false ,
330+ tuning : RuntimeTuning { jit_worker_count : 0 , ..Default :: default ( ) } ,
331+ ..Default :: default ( )
332+ } ) ;
329333 tb. compile_jit ( TestBackend :: req_cancun ( BYTECODE_RET42 ) ) ;
330334}
331335
332336#[ test]
333337fn prepare_aot_enqueue ( ) {
334- let tb = TestBackend :: with_tuning ( RuntimeTuning { jit_worker_count : 0 , ..Default :: default ( ) } ) ;
338+ let tb = TestBackend :: new ( RuntimeConfig {
339+ enabled : false ,
340+ tuning : RuntimeTuning { jit_worker_count : 0 , ..Default :: default ( ) } ,
341+ ..Default :: default ( )
342+ } ) ;
335343 tb. prepare_aot ( AotRequest {
336344 code_hash : alloy_primitives:: keccak256 ( BYTECODE_RET42 ) ,
337345 code : Bytes :: copy_from_slice ( BYTECODE_RET42 ) ,
@@ -341,7 +349,11 @@ fn prepare_aot_enqueue() {
341349
342350#[ test]
343351fn prepare_aot_batch_enqueue ( ) {
344- let tb = TestBackend :: with_tuning ( RuntimeTuning { jit_worker_count : 0 , ..Default :: default ( ) } ) ;
352+ let tb = TestBackend :: new ( RuntimeConfig {
353+ enabled : false ,
354+ tuning : RuntimeTuning { jit_worker_count : 0 , ..Default :: default ( ) } ,
355+ ..Default :: default ( )
356+ } ) ;
345357 let reqs = vec ! [
346358 AotRequest {
347359 code_hash: alloy_primitives:: keccak256( BYTECODE_RET42 ) ,
0 commit comments