Skip to content

Commit

Permalink
failing test to print llgs
Browse files Browse the repository at this point in the history
  • Loading branch information
sourabh1007 committed Jun 19, 2023
1 parent e4f4d51 commit ea69d95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ public void TestInitialize()

string connectionString = Environment.GetEnvironmentVariable("COSMOS.DB_CONNECTION_STRING");
this.cosmosClientBuilder = new CosmosClientBuilder(connectionString: connectionString)
.WithCustomSerializer(new CosmosJsonDotNetSerializer())
.WithApplicationPreferredRegions(this.preferredRegionList);
}

Expand Down Expand Up @@ -862,7 +861,8 @@ private async Task WaitAndAssert(
}
else
{
Assert.IsTrue(actualRequestInformation == null || actualRequestInformation.Count == 0, "Request Information is not expected in Gateway mode");
//TODO: revert
Assert.IsFalse(actualRequestInformation == null || actualRequestInformation.Count == 0, "Request Information is not expected in Gateway mode");
}
}

Expand Down
2 changes: 1 addition & 1 deletion templates/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ jobs:
inputs:
command: test
projects: 'Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/*.csproj'
arguments: --filter "TestCategory=ClientTelemetry" --verbosity normal --configuration DEBUG /p:OS=${{ parameters.OS }}
arguments: --filter "TestCategory=ClientTelemetry" --verbosity normal --configuration Debug /p:OS=${{ parameters.OS }}
nugetConfigPath: NuGet.config
publishTestResults: true
testRunTitle: Microsoft.Azure.Cosmos.EmulatorTests
Expand Down

0 comments on commit ea69d95

Please sign in to comment.