mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 10:37:56 +00:00 
			
		
		
		
	db/mssql: increase context timeout in test (#27663)
* db/mssql: increase context timeout in test * fix test build
This commit is contained in:
		 John-Michael Faircloth
					John-Michael Faircloth
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							a49c892f4b
						
					
				
				
					commit
					fc19a9ce9c
				
			| @@ -294,7 +294,7 @@ func TestUpdateUser_password(t *testing.T) { | ||||
| 				Username: dbUser, | ||||
| 			} | ||||
|  | ||||
| 			ctx, cancel = context.WithTimeout(context.Background(), 5*time.Second) | ||||
| 			ctx, cancel = context.WithTimeout(context.Background(), 20*time.Second) | ||||
| 			defer cancel() | ||||
| 			deleteResp, err := db.DeleteUser(ctx, deleteReq) | ||||
| 			if err != nil { | ||||
| @@ -342,7 +342,7 @@ func TestDeleteUser(t *testing.T) { | ||||
| 		Username: dbUser, | ||||
| 	} | ||||
|  | ||||
| 	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) | ||||
| 	ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second) | ||||
| 	defer cancel() | ||||
| 	deleteResp, err := db.DeleteUser(ctx, deleteReq) | ||||
| 	if err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user