Skip to content

Commit 91c62ab

Browse files
authored
Test failure should fail CI (Azure#50008)
1 parent bd53f0c commit 91c62ab

File tree

8 files changed

+1623
-1074
lines changed

8 files changed

+1623
-1074
lines changed

eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Mgmt/test/Azure.Generator.Mgmt.Tests/Providers/TestData/ResourceClientProviderTests/Verify_AsyncOperationMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using global::Azure.Core.Pipeline.DiagnosticScope scope = _responsetypeClientDiagnostics.CreateScope("Samples.Get");
1+
using global::Azure.Core.Pipeline.DiagnosticScope scope = _responsetypeClientDiagnostics.CreateScope("ResponseTypeResource.GetAsync");
22
scope.Start();
33
try
44
{
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
_responsetypeClientDiagnostics = new global::Azure.Core.Pipeline.ClientDiagnostics("Samples", ResourceType.Namespace, this.Diagnostics);
22
this.TryGetApiVersion(ResourceType, out string responsetypeApiVersion);
3-
_responsetypeRestClient = new global::Samples.TestClient(this.Pipeline, this.Endpoint, responsetypeApiVersion);
3+
_responsetypeRestClient = new global::Samples.TestClient(_responsetypeClientDiagnostics, this.Pipeline, this.Endpoint, responsetypeApiVersion);
44
global::Samples.ResponseTypeResource.ValidateResourceId(id);

eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Mgmt/test/Azure.Generator.Mgmt.Tests/Providers/TestData/ResourceClientProviderTests/Verify_SyncOperationMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using global::Azure.Core.Pipeline.DiagnosticScope scope = _responsetypeClientDiagnostics.CreateScope("Samples.Get");
1+
using global::Azure.Core.Pipeline.DiagnosticScope scope = _responsetypeClientDiagnostics.CreateScope("ResponseTypeResource.Get");
22
scope.Start();
33
try
44
{

0 commit comments

Comments
 (0)