File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed 
src/hyperlight_host/src/mem Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -1280,16 +1280,13 @@ mod tests {
12801280        let  tracker_data = trackers. get ( & tracker1. id ) . unwrap ( ) ; 
12811281        assert_eq ! ( tracker_data. val( ) . pid,  current_pid) ; 
12821282
1283-         // In debug/test mode, creating an overlapping tracker with the same PID should fail 
1284-         #[ cfg( any( debug_assertions,  test) ) ]  
1285-         { 
1286-             let  overlap_result = create_test_tracker ( addr + PAGE_SIZE ,  PAGE_SIZE  *  2 ) ; 
1287-             assert ! ( 
1288-                 overlap_result. is_err( ) , 
1289-                 "Creating overlapping tracker in same process should fail" 
1290-             ) ; 
1291-         } 
1292- 
1283+         // Creating an overlapping tracker with the same PID should fail 
1284+         let  overlap_result = create_test_tracker ( addr + PAGE_SIZE ,  PAGE_SIZE  *  2 ) ; 
1285+         assert ! ( 
1286+             overlap_result. is_err( ) , 
1287+             "Creating overlapping tracker in same process should fail" 
1288+         ) ; 
1289+         
12931290        // Clean up 
12941291        drop ( tracker1) ; 
12951292        unsafe  { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments