File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
eng/pipelines/templates/stages
sdk/cosmos/azure-cosmos-benchmark/src/main/java/com/azure/cosmos/benchmark Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ extends:
9393 SECONDARY_ACCOUNT_KEY : ' C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=='
9494 # Increased timeout to 90 because of cosmos emulator taking 25-30 mins to download emulator
9595 # Issue filed to improve download speed: https://github.com/Azure/azure-sdk-for-java/issues/12970
96- TimeoutInMinutes : 90
96+ TimeoutInMinutes : 120
9797 TestGoals : ' clean verify'
9898 TestOptions : ' $(ProfileFlag) $(AdditionalArgs)'
9999
@@ -152,7 +152,7 @@ extends:
152152 ACCOUNT_HOST : ' http://localhost:8081/'
153153 ACCOUNT_KEY : ' C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=='
154154 SECONDARY_ACCOUNT_KEY : ' C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=='
155- TimeoutInMinutes : 90
155+ TimeoutInMinutes : 120
156156 TestGoals : ' clean verify'
157157 TestOptions : ' $(ProfileFlag) $(AdditionalArgs) -DACCOUNT_HOST=http://localhost:8081/ -DCOSMOS.HTTP_CONNECTION_WITHOUT_TLS_ALLOWED=true'
158158 PreSteps :
Original file line number Diff line number Diff line change @@ -228,6 +228,7 @@ abstract class AsyncBenchmark<T> {
228228 if (cosmosException .getStatusCode () == 410 ||
229229 cosmosException .getStatusCode () == 408 ||
230230 cosmosException .getStatusCode () == 429 ||
231+ cosmosException .getStatusCode () == 500 ||
231232 cosmosException .getStatusCode () == 503 ) {
232233 return true ;
233234 }
You can’t perform that action at this time.
0 commit comments