diff --git a/.azure-pipelines/client.yml b/.azure-pipelines/client.yml index 68bbf896f900..8c9b07098aa5 100644 --- a/.azure-pipelines/client.yml +++ b/.azure-pipelines/client.yml @@ -69,6 +69,10 @@ jobs: - task: DotNetCoreCLI@2 displayName: 'Build & Test (no live tests)' condition: eq(variables['System.TeamProject'], 'public') + env: + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + DOTNET_MULTILEVEL_LOOKUP: 0 inputs: command: test projects: '$(ProjectFile)' @@ -78,6 +82,9 @@ jobs: displayName: 'Build & Test (with live tests)' condition: ne(variables['System.TeamProject'], 'public') env: + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + DOTNET_MULTILEVEL_LOOKUP: 0 AZ_CONFIG_CONNECTION: $(AzConfigConnectionString) inputs: command: test diff --git a/src/SDKs/Azure.ApplicationModel.Configuration/data-plane/Azure.Configuration.Tests/MockHttpClientTransport.cs b/src/SDKs/Azure.ApplicationModel.Configuration/data-plane/Azure.Configuration.Tests/MockHttpClientTransport.cs index c96c749b1598..5875d22df08f 100644 --- a/src/SDKs/Azure.ApplicationModel.Configuration/data-plane/Azure.Configuration.Tests/MockHttpClientTransport.cs +++ b/src/SDKs/Azure.ApplicationModel.Configuration/data-plane/Azure.Configuration.Tests/MockHttpClientTransport.cs @@ -249,7 +249,7 @@ void VerifyRequestLine(HttpRequestMessage request) { Assert.AreEqual(_expectedMethod, request.Method); _expectedUri.Verify(request.RequestUri.ToString()); - //Assert.AreEqual(new Version(2, 0), request.Version); + Assert.AreEqual(new Version(2, 0), request.Version); } void VerifyRequestContent(HttpRequestMessage request)