public Task MartinTest(TestContext ctx, CancellationToken cancellationToken, HttpServerProvider provider, HttpInstrumentationTestType type, HttpInstrumentationTestRunner runner) { return(runner.Run(ctx, cancellationToken)); }
static HttpInstrumentationTestType GetEffectiveType(HttpInstrumentationTestType type) { if (type == HttpInstrumentationTestType.MartinTest) { return(MartinTest); } return(type); }
public Task RunStress(TestContext ctx, CancellationToken cancellationToken, HttpServerProvider provider, [Repeat(50)] int repeat, HttpInstrumentationTestType type, HttpInstrumentationTestRunner runner) { ctx.LogDebug(1, $"RunStress: {repeat}"); return(runner.Run(ctx, cancellationToken)); }
public HttpInstrumentationTestRunner(HttpServerProvider provider, HttpInstrumentationTestType type) : base(provider, type.ToString()) { Type = type; }