-
Couldn't load subscription status.
- Fork 34
Closed
Labels
ServerImprovements or additions to the server codeImprovements or additions to the server code
Milestone
Description
Error message
CommunityToolkit.Datasync.Server.EntityFrameworkCore.Test.CosmosEntityTableRepository_Tests.DeleteAsync_Throws_WhenVersionMismatch
No source available
Duration: 1 ms
Message:
Microsoft.EntityFrameworkCore.DbUpdateException : Conflicts were detected for item with id 'id-000'.
---- Microsoft.Azure.Cosmos.CosmosException : Response status code does not indicate success: Conflict (409); Substatus: 0; ActivityId: ebfc1622-91e9-4206-a68c-38dd032ffce6; Reason: (
Errors : [
"Resource with specified id or name already exists."
]
);
Stack Trace:
CosmosDatabaseWrapper.SaveChanges(IList`1 entries)
StateManager.SaveChanges(IList`1 entriesToSave)
StateManager.SaveChanges(StateManager stateManager, Boolean acceptAllChangesOnSuccess)
<>c__DisplayClass28_0`2.<Execute>b__0(DbContext context, TState state)
ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state)
ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)
DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
BaseDbContext`2.PopulateDatabase() line 74
CosmosDbContext.CreateContext(String connectionString, ITestOutputHelper output) line 27
<8 more frames...>
----- Inner Stack Trace -----
CosmosClientWrapper.ProcessResponse(ResponseMessage response, IUpdateEntry entry)
CosmosClientWrapper.CreateItemOnceAsync(DbContext _, ValueTuple`4 parameters, CancellationToken cancellationToken)
CosmosClientWrapper.CreateItemOnceAsync(DbContext _, ValueTuple`4 parameters, CancellationToken cancellationToken)
CosmosClientWrapper.CreateItemOnceAsync(DbContext _, ValueTuple`4 parameters, CancellationToken cancellationToken)
CosmosClientWrapper.CreateItemOnce(DbContext context, ValueTuple`4 parameters)
ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
CosmosClientWrapper.CreateItem(String containerId, JToken document, IUpdateEntry entry)
CosmosDatabaseWrapper.Save(IUpdateEntry entry)
CosmosDatabaseWrapper.SaveChanges(IList`1 entries)
Metadata
Metadata
Assignees
Labels
ServerImprovements or additions to the server codeImprovements or additions to the server code