Commit graph

19557 commits

Author SHA1 Message Date
Patrik Nordwall
ee116dcdab Merge pull request #21201 from jypma/testkit_parent
#21198 Allow TestActor/TestKit/TestProbe to create child actors
2016-09-01 15:33:28 +02:00
Jan Ypma
09f2d83e69 +tes #21198 Allow TestActor/TestKit/TestProbe to create child actors
This is useful in at least two scenarios:
- Unit testing actors that communicate to their parent directly
- Testing re-creating (typically persistent) actors with the same name
2016-09-01 11:38:07 +02:00
drewhk
4821fb158e #20904: Increase timeouts in TestKitDoc tests, use Sink.seq (#21260) 2016-08-31 17:20:05 +01:00
Konrad Malawski
42a25609c1 Merge pull request #21329 from akka/wip-docs
=doc fix getStageActor docs typo (remove "not")
2016-08-31 13:01:00 +01:00
Konrad Malawski
8e35c03f51 =doc fix getStageActor docs typo (remove "not")
As follow up to https://github.com/akka/akka/pull/21323
due to CLA not signed, and released into public domain.
2016-08-31 12:05:12 +01:00
Konrad Malawski
b1d07498e2 =htp fix for infinite timeout disabling timeout infrastructure (#20817) (#21295)
* fix for infinite timeout disabling timeout infrastructure (#20817)

* filtering out timeout-access header in tests where necessary (#20817)

* filtering out timeout-access header in additional tests (#20817)

* added DummyCancellable object to avoid allocation (#20817)

* added test showing that timeout is correctly reset for both infinite as well as finite initial request-timeout (#20817)
2016-08-31 09:49:41 +01:00
gosubpl
7d7a5e51da added test showing that timeout is correctly reset for both infinite as well as finite initial request-timeout (#20817) 2016-08-30 22:18:26 +02:00
Patrik Nordwall
2bc25bff17 Merge pull request #21320 from johanandren/wip-21229-persistent-actor-failure-spec-race-johanandren
Race in PersistentActorFailureSpec removed
2016-08-30 19:43:39 +02:00
Patrik Nordwall
a95b2d6746 fail fast in mapAsync for completed failed future, #21318 (#21322)
* fail fast in mapAsync for completed failed future, #21318

* the callback was not run until todo == parallelism or the sync
  event limit was reached, and that can be a problem if upstream
  stages are slow (noticed this for a blocking Kafka producer stage)

* skip callback for completed futures

* fix callback allocation
2016-08-30 19:30:08 +02:00
Johan Andrén
e20d6f5f36 More generous timeout directive spec timeout #20278 2016-08-30 15:04:21 +02:00
Johan Andrén
b3cfd1c0ed Race in PersistentActorFailureSpec removed #21229 2016-08-30 14:46:51 +02:00
Johan Andrén
012919fdb3 OrElse stage for fallback when no elements emitted #21024 2016-08-30 13:35:59 +02:00
Johan Andrén
fbfc8b4c58 Http internal One2OneBidi pulling closed port #20944 2016-08-30 12:50:12 +02:00
Konrad Malawski
8c98d6cd74 * -htc remove proxy settings because not implemented (#21288) 2016-08-30 10:37:17 +01:00
Richard Imaoka
ec7d6a6998 Expose success and fail methods in CircuitBreaker #18347 2016-08-30 11:09:19 +02:00
Johan Andrén
faf717591b =htc Response rendering spec hardening #21088 (#21245)
A bit more time between the always-close and the guess-that-the-blueprint-closed timeouts
2016-08-30 09:38:17 +01:00
drewhk
f062687a0e Merge pull request #21259 from drewhk/wip-20933-recoverWith-nondetached-drewhk
#20933: Make RecoverWith non-detached (also eliminates race in test)
2016-08-30 10:38:00 +02:00
Patrik Nordwall
359a087674 Merge pull request #21166 from naferx/sink-graphstage
=str rewrite Sink internal impl as GraphStage
2016-08-30 10:37:30 +02:00
Martynas Mickevičius
8f183a04fb Merge pull request #21315 from 2m/wip-scaladex-deps
Add badge to Scaladex search for projects depending on Akka
2016-08-30 11:31:11 +03:00
Martynas Mickevicius
3e43b7fb55 Add badge to Scaladex search for Akka Actor, Stream and Http dependencies. 2016-08-30 01:59:19 +03:00
gosubpl
0e09253adf added DummyCancellable object to avoid allocation (#20817) 2016-08-29 21:48:32 +02:00
Johan Andrén
f760b98e8c Use in-memory filesystem for the file sink and source #20726 2016-08-29 16:33:33 +02:00
Johan Andrén
bc09e610f6 =per Log more info when recovery fails #20728 (#21313) 2016-08-29 13:20:48 +01:00
Cédric Chantepie
324a40ba97 =str Refactoring to avoid distinct handler instantiation for stage logics (#21309)
* Refactoring to avoid distinct handler instantiation for stage logics

* setHandlers
2016-08-29 13:00:48 +01:00
Konrad Malawski
fb45dd03f3 =act #21237 fix regression in ByteString.slice (#21294)
* =act #21237 fix regression in ByteString.slice

* Update ByteStringSpec.scala
2016-08-29 09:38:09 +01:00
2beaucoup
9ef93c6200 =htp change extract to provide (#21302) 2016-08-28 12:57:24 +01:00
gosubpl
ce4e208d85 filtering out timeout-access header in additional tests (#20817) 2016-08-28 00:23:40 +02:00
gosubpl
7690d1dbbd filtering out timeout-access header in tests where necessary (#20817) 2016-08-27 07:09:40 +02:00
dyk
0e302d2236 =htp Extract RemoteAddress.Unknown when cannot find client ip (#21289)
* handle unknown client ip

* updated doc

* fixed java dsl test
2016-08-26 15:47:36 +01:00
Patrik Nordwall
3e86c2a44f Merge pull request #21299 from akka/wip-2.12-patriknw
add `override` for scala/scala#5331
2016-08-26 15:40:19 +02:00
Adriaan Moors
95f43c55cd add override for scala/scala#5331 2016-08-26 13:43:12 +02:00
gosubpl
fcc1d12879 fix for infinite timeout disabling timeout infrastructure (#20817) 2016-08-25 23:32:14 +02:00
Jamie Longmuir
440848c741 Add warning to Akka DD docs about freq add/deletes of top-level entit… (#21269)
* Add warning to Akka DD docs about freq add/deletes of top-level entities - fixes #21249
2016-08-25 16:47:58 +02:00
Cédric Chantepie
efc87af58a FoldAsync op for Flow #18603 2016-08-24 21:02:32 +02:00
kenji yoshida
9630feb6cc =htc remove unnecessary asInstanceOf (#21275) 2016-08-24 13:55:03 +02:00
drewhk
67d0d2a4e3 Merge pull request #21183 from drewhk/wip-20890-stream-hub-drewhk
Stream Hubs
2016-08-24 13:33:02 +02:00
Patrik Nordwall
bcd12f9816 minor cleanup of WildcardIndex 2016-08-24 13:01:09 +02:00
kenji yoshida
4cf9e6969d =doc fix link in CONTRIBUTING.md (#21274) 2016-08-24 12:52:58 +02:00
Endre Sándor Varga
bc358f3188 20890 Added MergeHub and BroadcastHub 2016-08-24 11:43:24 +02:00
Bernard Leach
ac8c4dc1b1 +Doc #20192 update http example to always consume response (#21241)
The single-request-in-actor-example does not consume the response
in where the status code is not OK.  Although this is unlikely
to cause backpressure issues as the response is likely to have
a HttpEntity.Strict entity, the example is confusing as it
does not follow the warning about always consuming the response.
2016-08-24 11:16:08 +02:00
Paweł Motyl
57fdc758ce +htp Add javadsl Query.create(Iterable) overload #21232 (#21265)
* Added the Query.create(Iterable) overload using StreamSupport;
* Added a test for the new overload.
2016-08-24 11:13:05 +02:00
Patrik Nordwall
b9592cbc6b Merge pull request #21247 from akka/wip-21236-oldest-back-again-patriknw
Fix regression in Cluster Singleton
2016-08-23 19:09:41 +02:00
Patrik Nordwall
e6068a0f5a Fix regression in Cluster Singleton, #21236
* When the test fails the node is removed from the membership
  twice, which triggers two OldestChanged cycles, but in
  the 2.4.9 change https://github.com/akka/akka/pull/21152/files#diff-f0ae95c926a050aecf45dba3e08d1c77L669
  the singleton manager always goes to End (stop) when it has been Oldest
* This fix restores the previous behavior for this scenario
2016-08-23 19:08:49 +02:00
Patrik Nordwall
0aca351d81 harden SurviveNetworkInstabilitySpec #18767 2016-08-23 17:51:57 +02:00
Wade Waldron
a397696f05 Added a note to the serialization section regarding desugared names #21263
* Updated note with changes from PR

* Updated note with changes from PR
2016-08-23 17:50:35 +02:00
drewhk
549d9de7c9 Merge pull request #21258 from drewhk/wip-20887-reduce-gc-pressure-framingspec-drewhk
#20887: Reduce GC pressure by compacting to reduce long lived garbage
2016-08-23 14:17:31 +02:00
Johan Andrén
a5cb0d4b90 Corrected previous version mima-filters, added 2.4.9 empty section 2016-08-23 13:49:43 +02:00
Endre Sándor Varga
32455d3990 #20933: Make RecoverWith non-detached (also eliminates race in test) 2016-08-23 13:13:11 +02:00
Endre Sándor Varga
00f8e4f87a #20887: Reduce GC pressure by compacting to reduce long lived garbage 2016-08-23 12:52:28 +02:00
Patrik Nordwall
0d40f61dc4 Merge pull request #21155 from andreaTP/unsVis
=act change Unsubscribers visibility.
2016-08-23 12:18:03 +02:00