mirror of https://github.com/redis/redis.git
				
				
				
			Tests: fix oom-score-adj false positives. (#7772)
The key save delay is too short and on certain systems the child process is gone before we have a chance to inspect it.
This commit is contained in:
		
							parent
							
								
									0666267d27
								
							
						
					
					
						commit
						b2a73c404b
					
				| 
						 | 
				
			
			@ -35,7 +35,7 @@ if {$system_name eq {linux}} {
 | 
			
		|||
 | 
			
		||||
            # Check child process
 | 
			
		||||
            r set key-a value-a
 | 
			
		||||
            r config set rdb-key-save-delay 100000
 | 
			
		||||
            r config set rdb-key-save-delay 1000000
 | 
			
		||||
            r bgsave
 | 
			
		||||
 | 
			
		||||
            set child_pid [get_child_pid 0]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue