Skip to content

Commit

Permalink
[Internal] Benchmark : Fixes issue with dependency on Cosmos Project (#…
Browse files Browse the repository at this point in the history
…3673)

* users/sourabhjain/benchmarkfix

* update pipeline

* Revert "users/sourabhjain/benchmarkfix"

This reverts commit 81b48f0.

* fix compilation error

* add parama for preview pkg also

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
  • Loading branch information
sourabh1007 and ealsur authored Feb 2, 2023
1 parent d6a439f commit 393ae23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ internal Microsoft.Azure.Cosmos.CosmosClient CreateCosmosClient(string accountKe
clientOptions.ConsistencyLevel = (Microsoft.Azure.Cosmos.ConsistencyLevel)Enum.Parse(typeof(Microsoft.Azure.Cosmos.ConsistencyLevel), this.ConsistencyLevel, ignoreCase: true);
}

clientOptions.EnableDistributedTracing = this.EnableDistributedTracing;
clientOptions.IsDistributedTracingEnabled = this.EnableDistributedTracing;

return new Microsoft.Azure.Cosmos.CosmosClient(
this.EndPoint,
Expand Down
2 changes: 1 addition & 1 deletion templates/build-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
configuration: $(parameters.BuildConfiguration)
nugetConfigPath: NuGet.config
projects: 'Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/CosmosBenchmark.sln'
arguments: -p:Optimize=true
arguments: -p:Optimize=true -p:OSSProjectRef=true
versioningScheme: OFF
2 changes: 1 addition & 1 deletion templates/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,5 @@ jobs:
configuration: $(parameters.BuildConfiguration)
nugetConfigPath: NuGet.config
projects: 'Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/CosmosBenchmark.sln'
arguments: -p:Optimize=true -p:IsPreview=true
arguments: -p:Optimize=true -p:IsPreview=true -p:OSSProjectRef=true
versioningScheme: OFF

0 comments on commit 393ae23

Please sign in to comment.