Hi Konrad,

Thanks for your answer. I thought the timefactor was applied to all 
timeouts, for example also to the timeout used for akka.pattern.ask inside 
the actor you are testing. I was using a timeout on an ask of 100ms, the 
tests on the build server failed, but using akka.test.timefactor seems to 
have solved that. Did I misunderstand?

Kind regards,
Jan-Pieter

Op woensdag 4 november 2015 16:09:05 UTC+1 schreef Konrad Malawski:
>
> Hi Jan!
> Thanks for asking,
>
> This is expected behaviour though, not a bug.
> The akka.*test.timefactor* affects only the testing utilities, like 
> expectMsg and it's friends.
>
> If you want to you can apply dilation manually, based on env variables to 
> your timeouts (in prod code).
>
> Thanks and happy hakking!
>
> -- 
> Cheers,
> Konrad 'ktoso’ Malawski
> Akka <http://akka.io> @ Typesafe <http://typesafe.com>
>
> On 4 November 2015 at 16:06:47, Jan-Pieter van den Heuvel (
> [email protected] <javascript:>) wrote:
>
> Hi,
>
> I'm running into a problem when performing asynchronous integration tests 
> for an actor on a Jenkins build server. As suggested in the documentation (
> http://doc.akka.io/docs/akka/2.3.9/scala/testing.html#Accounting_for_Slow_Test_Systems)
>  
> I am using akka.test.timefactor to increase the timeouts. It seems however 
> that the ReceiveTimeout that is set in the actor using 
> context.setReceiveTimeout is not multiplied by this factor. Is this 
> expected behaviour or might this be a bug?
> I am running on Akka 2.3.9; the release notes of newer versions do not 
> mention fixing an issue regarding this.
>
> Kind regards,
> Jan-Pieter
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: 
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups 
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to