Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Microsoft.Azure.Cosmos/src/Handler/RequestMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ internal DocumentServiceRequest ToDocumentServiceRequest()
serviceRequest.UseStatusCodeFor429 = true;
serviceRequest.UseStatusCodeFor403 = true;
serviceRequest.UseStatusCodeForBadRequest = true;
serviceRequest.UseStatusCodeFor4041002 = true;
serviceRequest.Properties = this.Properties;
this.DocumentServiceRequest = serviceRequest;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3401,9 +3401,7 @@ public async Task VerifySessionNotFoundStatistics()
}
catch (CosmosException cosmosException)
{
Assert.IsTrue(cosmosException.Message.Contains("The read session is not available for the input session token."), cosmosException.Message);
string exception = cosmosException.ToString();
Assert.IsTrue(exception.Contains("Point Operation Statistics"), exception);
Assert.IsTrue(cosmosException.Message.Contains("The read/write session is not available"), cosmosException.Message);
}
}
finally
Expand Down
Loading