  | 
			
				SoftTree Technologies 
				Technical Support Forums
			 | 
		 
		  | 
	 
	 
	
	
	
		
	
	
	
		| Author | 
		Message | 
	 
	
		
			gemisigo 
			 
			
  
			
			
				Joined: 11 Mar 2010 Posts: 2175
  | 
			 
			  
		 | 
		
			
				  [9.2.349 Pro] - Unit Testing Maximum Execution Time Bug | 
				     | 
			 
			
				Check for Maximum Execution Time does not work (at least not for SQL Server statements). I've set the following code in Execute:
 
	  | 
	
 
	  | 
	
 
SELECT 1;
 
DELAY WAITFOR DELAY '00:00:05';
 
SELECT 2;
 
 | 
	 
 
 
 
It obviously runs for >= 5000 ms yet Unit Testing happily reports the test case as passed, regardless of the value set for MET.
  | 
			 
		  | 
	 
	
		| Fri Sep 01, 2017 3:31 am | 
		          | 
	 
	
		  | 
	 
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Thank you very much for letting us know about this issue. I have logged it under bug id #SA0032076
  | 
			 
		  | 
	 
	
		| Fri Sep 01, 2017 4:39 pm | 
		          | 
	 
	
		  | 
	 
	
		 | 
	 
 
  
	 
	    
	   | 
	
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
  | 
   
 
		 | 
	 
	  |