akkadotnet / akka.net

Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
http://getakka.net
Other
4.71k stars 1.04k forks source link

Racy spec: ThrottlerTransportAdapterSpec.ThrottlerTransportAdapter_must_maintain_average_message_rate #1669

Open Aaronontheweb opened 8 years ago

Aaronontheweb commented 8 years ago

ThrottlerTransportAdapterSpec.ThrottlerTransportAdapter_must_maintain_average_message_rate

Failed: Timeout 00:00:19 while waiting for a message of type System.Int64 
Expected: True
Actual:   False
   at Akka.TestKit.Xunit2.XunitAssertions.Fail(String format, Object[] args) in D:\BuildAgent\work\d26c9d7f36545acd\src\contrib\testkits\Akka.TestKit.Xunit2\XunitAssertions.cs:line 22
   at Akka.TestKit.TestKitBase.InternalExpectMsgEnvelope[T](Nullable`1 timeout, Action`2 assert, String hint, Boolean shouldLog) in D:\BuildAgent\work\d26c9d7f36545acd\src\core\Akka.TestKit\TestKitBase_Expect.cs:line 196
   at Akka.TestKit.TestKitBase.InternalExpectMsgEnvelope[T](Nullable`1 timeout, Action`1 msgAssert, Action`1 senderAssert, String hint) in D:\BuildAgent\work\d26c9d7f36545acd\src\core\Akka.TestKit\TestKitBase_Expect.cs:line 179
   at Akka.TestKit.TestKitBase.InternalExpectMsg[T](Nullable`1 timeout, Action`1 msgAssert, String hint) in D:\BuildAgent\work\d26c9d7f36545acd\src\core\Akka.TestKit\TestKitBase_Expect.cs:line 154
   at Akka.TestKit.TestKitBase.ExpectMsg[T](Nullable`1 duration, String hint) in D:\BuildAgent\work\d26c9d7f36545acd\src\core\Akka.TestKit\TestKitBase_Expect.cs:line 29
   at Akka.Remote.Tests.Transport.ThrottlerTransportAdapterSpec.ThrottlerTransportAdapter_must_maintain_average_message_rate() in D:\BuildAgent\work\d26c9d7f36545acd\src\core\Akka.Remote.Tests\Transport\ThrottlerTransportAdapterSpec.cs:line 187
Aaronontheweb commented 8 years ago

Started having an issue after 1.0.6 - maybe as a result of the configuration changes to Helios or Akka.Remote. Doesn't affect production Akka.NET applications since the throttler is only really used for testing, but this does affect the MNTR and Akka.Cluster multi-node specs.