Skip to content

Commit

Permalink
Build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adityasa committed Nov 6, 2022
1 parent 694efec commit faf266c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public void TestQueryPartitionProviderUpdate()
allowNonValueAggregateQuery: true,
hasLogicalPartitionKey: false,
allowDCount: true,
useSystemPrefix: false);
useSystemPrefix: false,
geospatialType: Cosmos.GeospatialType.Geography);

Assert.IsTrue(tryGetQueryPlan.Failed);
Assert.IsTrue(tryGetQueryPlan.Exception.ToString().Contains("The SQL query text exceeded the maximum limit of 5 characters"));
Expand All @@ -54,7 +55,8 @@ public void TestQueryPartitionProviderUpdate()
allowNonValueAggregateQuery: true,
hasLogicalPartitionKey: false,
allowDCount: true,
useSystemPrefix: false);
useSystemPrefix: false,
geospatialType: Cosmos.GeospatialType.Geography);

Assert.IsTrue(tryGetQueryPlan.Succeeded);
}
Expand Down

0 comments on commit faf266c

Please sign in to comment.