Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,13 @@ namespace
public static readonly .DefaultExecutor Instance;
protected override . ExecuteAsync(<.> action) { }
}
public static class Defaults
{
public static readonly ForcefulExitTimeout;
public static readonly HookTimeout;
public static readonly ProcessExitHookDelay;
public static readonly TestTimeout;
}
public abstract class DependencyInjectionDataSourceAttribute<TScope> : .UntypedDataSourceGeneratorAttribute
{
protected DependencyInjectionDataSourceAttribute() { }
Expand Down Expand Up @@ -562,6 +569,7 @@ namespace
public void SetDisplayName(string displayName) { }
public void SetDisplayNameFormatter( formatterType) { }
public void SetPriority(. priority) { }
public void SetRetryBackoff(int backoffMs, double backoffMultiplier) { }
public void SetRetryLimit(int retryLimit) { }
public void SetRetryLimit(int retryCount, <.TestContext, , int, .<bool>> shouldRetry) { }
}
Expand Down Expand Up @@ -1138,7 +1146,10 @@ namespace
public class RetryAttribute : .TUnitAttribute, .IScopedAttribute, ., .
{
public RetryAttribute(int times) { }
public int BackoffMs { get; set; }
public double BackoffMultiplier { get; set; }
public int Order { get; }
public []? RetryOnExceptionTypes { get; set; }
public ScopeType { get; }
public int Times { get; }
public . OnTestDiscovered(.DiscoveredTestContext context) { }
Expand Down Expand Up @@ -1407,6 +1418,8 @@ namespace
public [] MethodGenericArguments { get; set; }
public required .MethodMetadata MethodMetadata { get; set; }
public required string MethodName { get; init; }
public int RetryBackoffMs { get; set; }
public double RetryBackoffMultiplier { get; set; }
public int RetryLimit { get; set; }
public required ReturnType { get; set; }
public required object?[] TestClassArguments { get; set; }
Expand Down Expand Up @@ -2359,6 +2372,8 @@ namespace .Interfaces
}
public interface ITestConfiguration
{
int RetryBackoffMs { get; }
double RetryBackoffMultiplier { get; }
int RetryLimit { get; }
? Timeout { get; }
}
Expand Down
Loading