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