Skip to content

Commit

Permalink
[Internal] Benchmark tool: Fixes benchmark run command using OSSProje…
Browse files Browse the repository at this point in the history
…ctRef parameter (#4066)

* fix benchmark run command using OSSProjectRef parameter

* remove ShouldUnsetParentConfigurationAndPlatform=false

---------

Co-authored-by: David Chaava <[email protected]>
  • Loading branch information
tangerinous and David Chaava authored Sep 5, 2023
1 parent c72ebc8 commit 7c3f5e1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ git checkout ${BENCHMARKING_TOOLS_BRANCH_NAME}
cd 'Microsoft.Azure.Cosmos.Samples/Tools/Benchmark'

echo "########## Build benckmark tool ##########"
dotnet build --configuration Release -p:"OSSProjectRef=true;ShouldUnsetParentConfigurationAndPlatform=false"
dotnet build --configuration Release -p:"OSSProjectRef=true"

echo "########## Run benchmark ##########"
nohup dotnet run -c Release -e ${COSMOS_URI} -k ${COSMOS_KEY} -t ${THROUGHPUT} -n ${DOCUMENTS} --pl ${PARALLELISM} \
nohup dotnet run -c Release -p:"OSSProjectRef=true" -e ${COSMOS_URI} -k ${COSMOS_KEY} -t ${THROUGHPUT} -n ${DOCUMENTS} --pl ${PARALLELISM} \
--enablelatencypercentiles true --resultscontainer ${RESULTS_CONTAINER} --resultspartitionkeyvalue "pk" \
--DiagnosticsStorageConnectionString ${DIAGNOSTICS_STORAGE_CONNECTION_STRING} \
--DiagnosticLatencyThresholdInMs ${DIAGNOSTICS_LATENCY_THRESHOLD_IN_MS} \
Expand Down

0 comments on commit 7c3f5e1

Please sign in to comment.