示例#1
0
        public void GetTimeoutForOperationInSeconds_ShouldContainStudyName(string resourceType, string operationType, int expectedResult)
        {
            var result = ResourceProivisoningTimeoutResolver.GetTimeoutForOperationInSeconds(resourceType, operationType);

            Assert.Equal(expectedResult, result);
        }
 public async Task IncreaseInvisibleBasedOnResource(CloudResourceOperationDto currentOperation, ProvisioningQueueParentDto queueParentItem)
 {
     var increaseBy = ResourceProivisoningTimeoutResolver.GetTimeoutForOperationInSeconds(currentOperation.Resource.ResourceType, currentOperation.OperationType);
     await IncreaseInvisibilityAsync(queueParentItem, increaseBy);
 }