Patrik Nordwall
8ec581c808
Merge pull request #1935 from drexin/wip-3544-improve-testkit
...
+tes Added system as default param to TestKit.shutdown
2014-01-20 05:12:17 -08:00
Patrik Nordwall
37eddd716c
Merge pull request #1936 from akka/wip-3738-memory-leaks-in-tests-patriknw
...
=act #3738 Fix memory leaks in tests
2014-01-20 02:51:49 -08:00
Dario Rexin
e045c537a3
!tes #3544 Added 'system' as default parameter to the shutdown method on
...
TestKit
2014-01-17 23:08:32 +01:00
Patrik Nordwall
a11fb1dafc
=act #3572 Add parens to sender
...
* because it is not referentially transparent; normally we reserved parens for
side-effecting code but given how people thoughtlessly close over it we revised
that that decision for sender
* caller can still omit parens
2014-01-17 18:21:14 +01:00
Patrik Nordwall
9eb32a4486
=act #3738 Fix memory leaks in tests
...
* afterAll not called when all tests marked as ignore,
invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected = true
should solve that, but changed to pending in Ticket1978 anyway
* Try to shutdown when ActorSystem init fails. It is difficult
to cover all scenarios, but this should improve the situation.
This was the reason why DeployerSpec leaked.
* missing shutdown in some tests
2014-01-17 16:18:35 +01:00
Patrik Nordwall
e441d1b29b
!pro #3809 Update to config 1.2.0
...
* Changed all duration reads to use implicit conversion
and the new getDuration to reduce boilerplate
2014-01-15 19:26:47 +01:00
Björn Antonsson
003609c9c5
=pro #3759 Changed to using non-deprecated ScalaTest Matchers
2013-12-18 11:32:51 +01:00
Patrik Nordwall
1b5f8aa8ad
=act #3590 Reject task scheduled too far in the future
2013-11-14 14:18:30 +01:00
Björn Antonsson
a86bafddfc
=cam #3541 Log Camel endpoint activation/deactivation failures as error
2013-08-26 10:37:21 +02:00
Björn Antonsson
4a2b6effb3
=pro #3552 Upgrade ScalaTest to 1.9.2-SNAP2 for dbuild
...
* This can't go into 2.2.x since ScalaTest 1.9.2-SNAP2 has source incompatible changes and the dependecy in akka-multi-node-node-testkit would force people to upgrade.
2013-08-19 15:08:29 +02:00
Patrik Nordwall
a481272b67
Keep the order of buffered messages in Camel producer, see #3477
...
* fix bug in java sample
* doc corrections
2013-06-27 16:45:47 +02:00
Patrik Nordwall
5cda24db07
Dilate ask timeout in ConcurrentActivationTest, see #3413
2013-05-29 11:47:38 +02:00
Björn Antonsson
a2a44a7bf2
Increase timeout for akka.camel.ConcurrentActivationTest. See #3269
2013-05-23 10:02:03 +02:00
Björn Antonsson
fbd9d43a9d
Use a dilated timeout for ConcurrentActivationTest. See #3269
2013-05-17 13:03:25 +02:00
Viktor Klang (√)
e73cc01b94
Merge pull request #1426 from akka/wip-3313-ConsumerIntegrationTest-timing-sensitive-√
...
#3313 - Relaxing the timing of the consumer timeout and marking the tes...
2013-05-10 05:01:11 -07:00
Viktor Klang
f049ea4892
#3313 - Relaxing the timing of the consumer timeout and marking the test as timing sensitive.
2013-05-10 02:34:12 +02:00
Björn Antonsson
9c5cc24ba7
Some more test cleanup to not create so many threads. See #3320
2013-05-08 12:42:15 +02:00
Björn Antonsson
e00ab533bb
Wait on shutdown of extra actor systems in tests. See #3217
2013-05-07 11:02:03 +02:00
drexin
308428e7bc
removed calls to deprecated Props constructor in java code
2013-05-02 17:00:44 +02:00
dario.rexin
3e8597d94b
more deprecation warnings removed
2013-04-26 13:54:10 +02:00
Roland
28aad82b1a
deprecate closure-taking Props factories, see #3081
...
- base Props on Deploy, Class and Seq[Any] (i.e. constructor args)
- remove deprecated Props usage from akka-docs sample code
- rewrite UntypedActorDocTestBase
- rewrite Java/Scala doc section on actor creation
- add migration guide entry
2013-04-16 12:48:31 +02:00
Patrik Nordwall
887af975ae
Deprecate actorFor in favor of ActorSelection, see #3074
...
* Deprecate all actorFor methods
* resolveActorRef in provider
* Identify auto receive message
* Support ActorPath in actorSelection
* Support remote actor selections
* Additional tests of actor selection
* Update tests (keep most actorFor tests)
* Update samples to use actorSelection
* Updates to documentation
* Migration guide, including motivation
2013-04-08 18:11:52 +02:00
Viktor Klang
c883705242
#3018 - Enabling -Xlint and dealing with the situation that occurs
2013-03-29 01:43:17 +01:00
Patrik Nordwall
f4d59383d7
Log actor failures in supervisor, see #2824
...
* To make it possible to override with application
specific logging, or mute logging for certain failures
* Changed log level of Resume failures to WARNING, which
caused all the changes to the tests
2013-03-11 13:33:37 +01:00
Roland
bcfbea42c1
fix formatting of Java API in doc comments + genjavadoc 0.3
2013-03-07 09:05:55 +01:00
Patrik Nordwall
2a45d99ab3
Change more copyright to 2009-2013, see #2879
...
* Also added some missing headers
2013-02-20 21:26:52 +01:00
Roland
5f25169095
ensure unique actor names in camel ProducerFeatureTest, see #3026
2013-02-11 15:25:25 +01:00
Viktor Klang
e519e3dc3b
#2986 - Changing ActorContext and ActorRefFactory's dispatcher to return ExecutionContext
2013-01-31 15:41:31 +01:00
Viktor Klang
adfeb2c1f0
#2879 - updating copyright info
2013-01-09 11:38:00 +01:00
Raymond Roestenburg
5ad22c8e9c
camel: ticket #2781
...
ProducerSupport.transformOutgoingMessage was called from wrong context.
2012-12-10 13:59:40 +01:00
Patrik Nordwall
e5fce9ee2a
Merge pull request #894 from akka/wip-2724-streamcache-patriknw
...
Reset StreamCache in getBodyAs to be able to re-read it, see #2724
2012-11-26 07:12:36 -08:00
Patrik Nordwall
99b02c0826
Reset StreamCache in getBodyAs to be able to re-read it, see #2724
2012-11-25 17:01:50 +01:00
Raymond Roestenburg
486278726b
ticket #2739 fix. Also removed author tags since that's so 1990's
2012-11-25 14:13:21 +01:00
Viktor Klang
b00c47854b
Switching over to immutable.Iterable where possible
2012-11-14 16:24:25 +01:00
Viktor Klang
8f131c680f
Switching to immutable.Seq instead of Seq
2012-11-12 14:17:47 +01:00
Viktor Klang
3530e513e1
#2646 - Replacing most usages of JavaConversions by JavaConverters
2012-10-23 17:27:38 +02:00
Roland
b96d77c15a
actually build the samples
...
and fix the resulting breakage (of not compiling them for some time,
that is)
also remove the last casts to FiniteDuration
2012-10-15 17:17:54 +02:00
Roland
bff79c2f94
Merge remote-tracking branch 'origin/master' into wip-2.10.0-RC1-∂π
...
- currently cheating: uses zeroMQ artifacts for scala 2.10M7
- fixed a bunch of more wrong references to scala.concurrent.util
2012-10-15 16:18:52 +02:00
Björn Antonsson
d442f2024b
More Duration cleanup, and changed use of ScalaNumber to ScalaNumericConversions. #2504
2012-10-12 14:21:54 +02:00
Roland
0f04239f67
move Duration classes according to scala 2.10 nightly and remove casts to FiniteDuration, see #2504
2012-10-11 15:18:10 -07:00
RayRoestenburg
8ef2a47069
fixed timing test when response is not sent by actor
2012-10-06 23:54:34 +02:00
Viktor Klang
af184250cc
Revert "CAMEL: Used endpoint replyTimeout in processExchangeAdapter, fixed ActorProducerTest which did not wait for completion"
...
This reverts commit ecf970dd4d .
2012-10-04 07:33:25 +02:00
RayRoestenburg
ecf970dd4d
CAMEL: Used endpoint replyTimeout in processExchangeAdapter, fixed ActorProducerTest which did not wait for completion
2012-10-03 14:22:31 +02:00
Viktor Klang
eaa651aba9
Manually reformatting camel reference config docs
2012-09-28 01:56:16 +02:00
Viktor Klang
6ff5eb711f
Capitalizing Camel Settings constants.
2012-09-27 12:11:45 +02:00
Viktor Klang
4441b03e07
Restructuring the CamelConfigSpec for fun and profit
2012-09-26 17:30:09 +02:00
Viktor Klang
cd0c96ff9c
#2568 - Adding the ability to configure body conversions in the config file.
2012-09-26 17:12:30 +02:00
Viktor Klang
4100c2d9b3
Fixing ProducerFeatureTest
2012-09-26 12:39:15 +02:00
RayRoestenburg
96045d18d2
camel fix for the situation that the test can send to deadletters or may not, so it should not assert on the event filter in ConcurrentActivationTest
2012-09-26 00:17:39 -05:00
RayRoestenburg
d2a467583e
fix scalariform error, cant handle the 2.10 string interpolation syntax
2012-09-26 00:09:16 -05:00