Tags: maffin-sa/dotnet-sdk
Tags
Fix pattern for tests that use HttpClient (dapr#589) This change introduces a better API for us to test the DaprClient or other HttpClient based APIs. This will resolve the flakiness problems that we're seeing with some of the actors tests. Fixes: dapr#573 Fixes: dapr#588 Additionally fixed an issue where DaprHttpInteractor was misuing HttpClientHandler. This would result in a new handler being created when it isn't needed.
Rc6 (dapr#584) Merging the following two commits from master into release branch * Add missing cancellation token * read binary data Co-authored-by: Ryan Nowak <nowakra@gmail.com> Co-authored-by: Sander Molenkamp <a.molenkamp@gmail.com> Co-authored-by: Vinaya Damle <vinayadamle@gmail.com>
Make Actors unit testable (dapr#576) Fixes: dapr#574 Changes ActorHost constructor to be public again. Now the state manager and http interactor are set via properties. This means that code in unit tests won't be able to cover the methods that interact with timers or reminders - however this was already the case. Testing state management is covered by replacing the `IActorStateManager` with a mock. Logged an issue to improve this. Also added validation. If you try to use something that's not fully initialized it will result in an exception with a meaningful message instead of a null reference. Also skips tests that are failing due to dapr#573. We know the cause of why these are failing, and these tests have not been stable since they were introduced. Failing additional CI builds is not giving us new information.
fixes for getting the samples to work (dapr#570) * fixes for getting the samples to work * add ut
Merge into release (dapr#565) *Merge master into release branch Co-authored-by: Ryan Nowak <nowakra@gmail.com> Co-authored-by: Ryan Nowak <nowakra@gmail.com> Co-authored-by: Carlos Mendible <cmendible@gmail.com> Co-authored-by: Arghya Sadhu <arghya88@gmail.com> Co-authored-by: Per Ökvist <perokvist@users.noreply.github.com> Co-authored-by: Sander Molenkamp <a.molenkamp@gmail.com> Co-authored-by: LukePammant <Luke.pammant@gmail.com>
PreviousNext