Derek Williams
377fc2b1cf
Add test for ticket 1054
2011-07-28 11:15:26 -06:00
Derek Williams
17b16569cf
Add test for ticket 1054
2011-07-28 11:06:48 -06:00
Derek Williams
da987138dd
Partial fix for ticket #1054 : execute callbacks in dispatcher
2011-07-26 22:23:16 -06:00
Derek Williams
eea12dcd35
Don't use global dispatcher in case other tests don't cleanup
2011-07-26 18:10:39 -06:00
Derek Williams
749b63e732
formatting fixes
2011-07-26 17:58:37 -06:00
Derek Williams
6d343b01f0
Merge branch 'master' into wip-derekjw
...
Conflicts:
akka-actor-tests/src/test/scala/akka/dispatch/FutureSpec.scala
akka-actor/src/main/scala/akka/actor/ActorRef.scala
2011-07-26 12:50:09 -06:00
Peter Veentjer
7983a66f68
Ticket 964: rename of reply?
2011-07-17 09:02:36 +03:00
Derek Williams
34ca784846
Merge branch 'master' into wip-derekjw
...
Conflicts:
akka-actor-tests/src/test/scala/akka/dispatch/FutureSpec.scala
akka-actor/src/main/scala/akka/actor/Actor.scala
akka-actor/src/main/scala/akka/actor/ActorRef.scala
akka-actor/src/main/scala/akka/actor/TypedActor.scala
akka-actor/src/main/scala/akka/dispatch/Future.scala
2011-07-11 13:02:42 -06:00
Viktor Klang
2b2fceaa6b
Fixing ticket #997 , unsafe publication corrected
2011-07-10 20:18:43 +02:00
Jonas Bonér
95dbd425c4
1. Fixed problems with actor fail-over migration.
...
2. Readded the tests for explicit and automatic migration
3. Fixed timeout issue in FutureSpec
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-07-05 18:44:10 +02:00
Derek Williams
1d710cc0a4
Make better use of implicit Timeouts, fixes problem with using KeptPromise with aggregate methods (like traverse and sequence)
2011-06-25 14:20:54 -06:00
Derek Williams
eab78b383d
Add Future.orElse(x) to supply value if future expires
2011-06-20 16:22:46 -06:00
Derek Williams
d1b8b475fa
Silence some more noisy tests
2011-06-20 15:11:32 -06:00
Derek Williams
2c11662448
Improved TestEventListener
2011-06-19 12:06:20 -06:00
Derek Williams
6eec2aee09
tracking down reason for failing scalacheck test, jvm needs '-XX:-OmitStackTraceInFastThrow' option so it doesn't start giving exceptions with no message or stacktrace. Will try to find better solution.
2011-06-18 16:43:38 -06:00
Derek Williams
6b73e0982a
Added TestEventListener
2011-06-17 16:45:36 -06:00
Derek Williams
389893a0cc
Merging all my branches together
2011-06-17 12:41:40 -06:00
Derek Williams
9466e4a71d
wip - add detailed unit tests and scalacheck property checks
2011-06-17 06:55:24 -06:00
Derek Williams
964dd76f1f
Merge branch 'master' into nio-actor
2011-06-14 12:40:16 -06:00
Jonas Bonér
26500bed09
1. Removed implicit scoped timeout in ? method.
...
Reason: 'pingPongActor.?(Ping)(timeout = TimeoutMillis)' breaks old user code and is so ugly. It is not worth it. Now user write (as he used to): 'pingPongActor ? (Ping, TimeoutMillis)'
2. Fixed broken Cluster communication
3. Added constructor with only String arg for UnhandledMessageException to allow client instantiation of remote exception
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-14 14:26:13 +02:00
Derek Williams
e92672fb4b
Merge branch 'master' into nio-actor
2011-06-13 22:38:02 -06:00
Derek Williams
e18cc7bac6
revert changes to java api
2011-06-13 22:31:06 -06:00
Derek Williams
cbdfd0fe23
Fix Future type issues
2011-06-13 20:25:31 -06:00
Derek Williams
d1a71a1aba
Merge branch 'master' into nio-actor
2011-06-13 16:58:44 -06:00
Roland
ca592ef1b4
Merge branch 'master' of github.com:jboner/akka
...
Conflicts:
akka-actor/src/main/scala/akka/actor/Actor.scala
akka-actor/src/main/scala/akka/actor/ActorRef.scala
akka-actor/src/main/scala/akka/actor/TypedActor.scala
akka-cluster/src/main/scala/akka/cluster/ClusterActorRef.scala
akka-cluster/src/main/scala/akka/cluster/ReplicatedClusterRef.scala
akka-durable-mailboxes/akka-mailboxes-common/src/main/scala/akka/actor/mailbox/DurableDispatcher.scala
akka-testkit/src/test/scala/akka/testkit/TestActorRefSpec.scala
akka-tutorials/akka-tutorial-second/src/main/java/akka/tutorial/java/second/Pi.java
2011-06-14 00:19:54 +02:00
Viktor Klang
fa0478bc32
Replacing !!! with ?
2011-06-13 13:43:21 +02:00
Derek Williams
4967c8cb72
might have a workable solution to stack overflow
2011-06-04 17:19:24 -06:00
Derek Williams
9d91990135
Added failing test due to stack overflow, will try and fix
2011-06-04 08:45:44 -06:00
Viktor Klang
b0952e5212
Renaming Future.failure to Future.recover
2011-06-02 13:33:49 -07:00
Viktor Klang
e94b722a4b
Adding withFilter to Future, fixing signature of filter, cleaning up foreach
2011-05-26 19:33:03 +02:00
Jonas Bonér
a7311c83e6
Added Scalariform sbt plugin which formats code on each compile. Also checking in reformatted code
2011-05-18 17:25:30 +02:00
Jonas Bonér
2655d44ee9
Merged wip-2.0 branch with latest master
2011-05-16 12:32:00 +02:00
Derek Williams
d0b27c43b7
Use Promise in tests
2011-05-03 18:52:58 -06:00
Derek Williams
5b18f18ffd
Fix bug with 'Future << x', must be used within a 'flow' block now
2011-05-03 18:49:14 -06:00
Derek Williams
67f1e2fbca
Fix Future.flow compile time type safety
2011-05-02 14:44:40 -06:00
Derek Williams
846d63aa92
Merge branch 'master' into delimited-continuations
...
Conflicts:
akka-actor-tests/src/test/scala/akka/dispatch/FutureSpec.scala
akka-actor/src/main/scala/akka/dispatch/Future.scala
project/build/AkkaProject.scala
2011-04-30 08:59:45 -06:00
Viktor Klang
7d5bc13163
Removing uses of awaitBlocking in the FutureSpec
2011-04-28 16:23:03 +02:00
Derek Williams
485013a353
Dispatcher executed Future will be cleaned up even after expiring
2011-04-27 20:45:39 -06:00
Derek Williams
43fc3bf463
Add failing test for Ticket #812
2011-04-27 19:39:15 -06:00
Viktor Klang
800840719f
Making it impossible to complete a future after its expired, and not run onComplete callbacks if it hasnt been completed before expiry, fixing ticket #811
2011-04-27 16:52:19 +02:00
Viktor Klang
82a11110d3
Removing awaitValue and valueWithin, and adding await(atMost: Duration)
2011-04-27 15:34:42 +02:00
Jonas Bonér
2e7c76dd98
Rebased from master
2011-04-27 00:38:10 +02:00
Viktor Klang
233310b807
Merge with upstream
2011-04-26 14:04:43 +02:00
Viktor Klang
0fbf8d3c65
Added a test to validate the API, it´s gorgeous
2011-04-26 13:42:24 +02:00
Viktor Klang
d567a08849
Added a test to validate the API, it´s gorgeous
2011-04-26 13:37:06 +02:00
Viktor Klang
0b5ab21128
Adding yet another CPS test
2011-04-26 11:41:26 +02:00
Viktor Klang
25f2824b63
Adding a test for the emulation of blocking
2011-04-26 11:17:29 +02:00
Derek Williams
74fcef3891
Add Future.failure
2011-04-25 16:14:07 -06:00
Derek Williams
da8e5064ef
Fix failing tests
2011-04-25 14:55:49 -06:00
Derek Williams
997151e49c
Improve pattern matching within for comprehensions with Future
2011-04-24 16:05:28 -06:00