Skip to content

Commit

Permalink
fix(nosql): partition key match integration test (#301)
Browse files Browse the repository at this point in the history
The `CreateTempNoSqlContainerWithCleanMatchingOnSetup_WhenExistingItem_SucceedsByCleaningSubset` integration test was using the wrong NoSql item to match during the 'setup' phase, making the test sometimes fail.
  • Loading branch information
stijnmoreels authored Feb 25, 2025
1 parent e70030b commit fc2639a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ await WhenTempContainerCreatedAsync(containerName, options =>
else
{
options.OnSetup.CleanMatchingItems(item => item.Id == createdMatched.Id)
.CleanMatchingItems((Ship item) => item.GetPartitionKey() == createdNotMatched.GetPartitionKey());
.CleanMatchingItems((Ship item) => item.GetPartitionKey() == createdMatched.GetPartitionKey());
}
});

Expand Down

0 comments on commit fc2639a

Please sign in to comment.