7 references to RetryAttribute
Microsoft.AspNetCore.InternalTesting (7)
xunit\AspNetTestRunner.cs (7)
60var retryAttribute = GetRetryAttribute(TestMethod); 76private async Task<Tuple<decimal, string>> RunTestCaseWithRetryAsync(RetryAttribute retryAttribute, ExceptionAggregator aggregator) 152private static RetryAttribute GetRetryAttribute(MethodInfo methodInfo) 154var attributeCandidate = methodInfo.GetCustomAttribute<RetryAttribute>(); 160attributeCandidate = methodInfo.DeclaringType.GetCustomAttribute<RetryAttribute>(); 166return methodInfo.DeclaringType.Assembly.GetCustomAttribute<RetryAttribute>();