db620d33df
dotnet-build-and-test / dotnet-test-functions (push) Has been cancelled
dotnet-build-and-test / paths-filter (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Debug, windows-latest, net9.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Release, ubuntu-latest, net10.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Release, ubuntu-latest, net8.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Release, windows-latest, net472) (push) Has been cancelled
dotnet-build-and-test / dotnet-test (Release, integration, true, ubuntu-latest, net10.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-test (Release, integration, true, windows-latest, net472) (push) Has been cancelled
dotnet-build-and-test / dotnet-foundry-hosted-it (push) Has been cancelled
dotnet-build-and-test / dotnet-build-and-test-check (push) Has been cancelled
dotnet-build-and-test / Integration Test Report (push) Has been cancelled
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
19 lines
918 B
C#
19 lines
918 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
namespace Foundry.Hosting.IntegrationTests.Fixtures;
|
|
|
|
/// <summary>
|
|
/// Provisions a dedicated <c>it-unsupported-protocol</c> agent under the legacy responses protocol
|
|
/// <c>1.0.0</c> on purpose. The test container targets protocol <c>2.0.0</c> only, so a request served
|
|
/// as <c>1.0.0</c> (no <c>x-agent-foundry-call-id</c> header) must fail fast with a clear <c>501</c>
|
|
/// rather than an opaque 500. A dedicated agent name keeps this 1.0.0 deployment isolated from the
|
|
/// 2.0.0 scenario agents (notably <c>it-happy-path</c>), whose <c>@latest</c> must stay 2.0.0.
|
|
/// See <see cref="UnsupportedProtocolHostedAgentTests"/>.
|
|
/// </summary>
|
|
public sealed class UnsupportedProtocolHostedAgentFixture : HostedAgentFixture
|
|
{
|
|
protected override string ScenarioName => "unsupported-protocol";
|
|
|
|
protected override string ResponsesProtocolVersion => "1.0.0";
|
|
}
|