mirror of
				https://github.com/cldellow/sqlite-parquet-vtable.git
				synced 2025-11-04 02:39:56 +00:00 
			
		
		
		
	travis: test low memory conditions
This commit is contained in:
		@@ -9,3 +9,13 @@ set -x
 | 
				
			|||||||
"$here"/test-supported
 | 
					"$here"/test-supported
 | 
				
			||||||
"$here"/test-queries
 | 
					"$here"/test-queries
 | 
				
			||||||
"$here"/test-random
 | 
					"$here"/test-random
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -v COVERAGE ]; then
 | 
				
			||||||
 | 
					  # Do at most 10 seconds of failmalloc testing
 | 
				
			||||||
 | 
					  "$here"/test-failmalloc || true
 | 
				
			||||||
 | 
					  now=$(date +%s)
 | 
				
			||||||
 | 
					  in_10s=$((now+10))
 | 
				
			||||||
 | 
					  while [ $(date +%s) -lt $in_10s ]; do
 | 
				
			||||||
 | 
					    "$here"/test-failmalloc || true
 | 
				
			||||||
 | 
					  done
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user