|
|
@ -6,11 +6,11 @@ namespace Polly8Study.Test
|
|
|
|
/// CancellationToken,没有这个是不起使用的
|
|
|
|
/// CancellationToken,没有这个是不起使用的
|
|
|
|
/// 就是之前版本中的乐观超时,悲观超时貌似取消了
|
|
|
|
/// 就是之前版本中的乐观超时,悲观超时貌似取消了
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public class Polly8TimeoutTest
|
|
|
|
public class Polly8TimeoutStrategyTest
|
|
|
|
{
|
|
|
|
{
|
|
|
|
private readonly ITestOutputHelper _output;
|
|
|
|
private readonly ITestOutputHelper _output;
|
|
|
|
|
|
|
|
|
|
|
|
public Polly8TimeoutTest(ITestOutputHelper testOutput)
|
|
|
|
public Polly8TimeoutStrategyTest(ITestOutputHelper testOutput)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_output = testOutput;
|
|
|
|
_output = testOutput;
|
|
|
|
}
|
|
|
|
}
|