- last updated 30 day(s) ago
- 2922 daily downloads
- 1163613 total downloads
- Latest version: 2.5.1
Phobos.TestKit 2.0.3
Framework used for testing applications that have been instrumented using Phobos. Makes it feasible to test using data collected from actor traces, monitoring, and so forth.
Install-Package Phobos.TestKit -Version 2.0.3
dotnet add package Phobos.TestKit --version 2.0.3
<PackageReference Include="Phobos.TestKit" Version="2.0.3"/>
paket add Phobos.TestKit --version 2.0.3
Release Notes
Phobos 2.x Revision Release** [Fixed: Serializer exception when using Phobos and Akka.Hosting](https://github.com/petabridge/phobos-issues/issues/57) - this issue was caused by actor lifecycle tracing leaking `Tracer.CurrentSpan` instances across threads as a result of how actor spawning works on most systems. Specifically, when Akka.Cluster.Sharding was enabled this leaky mechanism made it possible for other `/system` actors responsible for clustering to suddenly have access to active traces, which in turn caused them to wrap built in system messages such as cluster heartbeats with Phobos' tracing envelopes. We've fixed this in two separate ways: 1. Actor lifecycle traces now longer use the `Tracer.CurrentSpan` / `System.Diagnostics.Activity.Current` property, so the source of the leak has been removed; 2. Phobos.Actor now takes a dependency on Akka.Cluster and explicitly excludes all [`Akka.Cluster.IClusterMessage` events](https://getakka.net/api/Akka.Cluster.IClusterMessage.html) from any kind of consideration during tracing.
Dependencies
.NETStandard
- Phobos.Actor (>=2.0.3)
- Akka.TestKit.Xunit2 (>=1.4.38)
- FluentAssertions (>=6.7.0)
- OpenTelemetry.Exporter.InMemory (>=1.2.0-rc5)
- xunit (>=2.4.1)
Versions
Info
- last updated 694 day(s) ago
- Project Site
- License Info
Statistics
- 4862 total downloads
- 5 downloads of current version
Owners and Products
PetabridgeAuthors
Petabridge
Copyright
Copyright © 2017-2021 Petabridge
Petabridge