!tes #2971 Make TestKit.remaining throw AssertionError outside of within
This commit is contained in:
parent
dfef14a590
commit
826cc74de3
41 changed files with 156 additions and 120 deletions
20
akka-docs/rst/project/migration-guide-2.3.x-2.4.x.rst
Normal file
20
akka-docs/rst/project/migration-guide-2.3.x-2.4.x.rst
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
.. _migration-2.4:
|
||||
|
||||
################################
|
||||
Migration Guide 2.3.x to 2.4.x
|
||||
################################
|
||||
|
||||
The 2.4 release contains some structural changes that require some
|
||||
simple, mechanical source-level changes in client code.
|
||||
|
||||
When migrating from earlier versions you should first follow the instructions for
|
||||
migrating :ref:`1.3.x to 2.0.x <migration-2.0>` and then :ref:`2.0.x to 2.1.x <migration-2.1>`
|
||||
and then :ref:`2.1.x to 2.2.x <migration-2.2>` and then :ref:`2.2.x to 2.3.x <migration-2.3>`.
|
||||
|
||||
TestKit.remaining throws AssertionError
|
||||
=======================================
|
||||
|
||||
In earlier versions of Akka `TestKit.remaining` returned the default timeout configurable under
|
||||
"akka.test.single-expect-default". This was a bit confusing and thus it has been changed to throw an
|
||||
AssertionError if called outside of within. The old behavior however can still be achieved by
|
||||
calling `TestKit.remainingOrDefault` instead.
|
||||
|
|
@ -10,4 +10,5 @@ Migration Guides
|
|||
migration-guide-2.0.x-2.1.x
|
||||
migration-guide-2.1.x-2.2.x
|
||||
migration-guide-2.2.x-2.3.x
|
||||
migration-guide-2.3.x-2.4.x
|
||||
migration-guide-eventsourced-2.3.x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue