Azure / azure-cosmosdb-java

Java Async SDK for SQL API of Azure Cosmos DB
MIT License
54 stars 61 forks source link

Flakey test: crossPartitionQuery(com.microsoft.azure.cosmosdb.rx.DCDocumentCrudTest) #161

Open christopheranderson opened 5 years ago

christopheranderson commented 5 years ago

This test failed on a scheduled build. We should harden the logic or add retry:

[ERROR] crossPartitionQuery(com.microsoft.azure.cosmosdb.rx.DCDocumentCrudTest)  Time elapsed: 40.046 s  <<< FAILURE!
org.testng.internal.thread.ThreadTimeoutException: Method com.microsoft.azure.cosmosdb.rx.DCDocumentCrudTest.crossPartitionQuery() didn't finish within the time-out 40000
    at com.microsoft.azure.cosmosdb.rx.DCDocumentCrudTest.crossPartitionQuery(DCDocumentCrudTest.java:232)

Failed scheduled build: https://dev.azure.com/azure-cosmos-java/azure-cosmos-java/_build/results?buildId=944&view=logs&jobId=fd490c07-0b22-5182-fac9-6d67fe1e939b&taskId=420ba3bc-1a2f-58ee-a36c-596b8c354a2e&lineStart=20034&lineEnd=20035&colStart=1&colEnd=170

Test report: https://dev.azure.com/azure-cosmos-java/azure-cosmos-java/_test/analytics?definitionId=6&contextType=build