Commit graph

7887 commits

Author SHA1 Message Date
Viktor Klang
55d2a48887 Adding a project definition for akka-amqp (but without code) 2011-11-08 18:56:24 +01:00
Viktor Klang
84706721f9 Renaming ActorCell.supervisor to 'parent', adding 'parent' to ActorContext 2011-11-08 18:55:55 +01:00
Viktor Klang
39d169612f Dropping akka-http (see 1330) 2011-11-08 14:57:11 +01:00
Viktor Klang
48dbfda255 Reducing sleep time for ActorPoolSpec for typed actors and removing defaultSupervisor from Props 2011-11-08 12:30:46 +01:00
Viktor Klang
fd130d0310 Fixing ActorPoolSpec (more specifically the ActiveActorsPressure thingie-device) and stopping the typed actors after the test of the spec 2011-11-08 11:25:15 +01:00
Roland
c1a9475015 TestEventFilter overhaul
- make normal filters available for all four log levels
- allow filtering for
  + exact and complete message
  + start of message
  + regular expression
- keep count of occurrences if requested and verify correct count at end
  of filterEvents/filterExceptions block
- remove akka.testkit.Testing (sleepFor replaced by Duration.dilated.sleep)
- remove Duration.timeFactor (needs config -> AkkaApplication)
- TestLatch needs config -> AkkaApplication (was forgotten because used
  directly System.getProperty)
- lots of scaladoc for TestEventListener infrastructure
2011-11-07 22:23:48 +01:00
Patrik Nordwall
3681d0fe4e Separate latency and throughput measurement in performance tests. Fixes #1333
* TradingThroughputPerformanceSpec and microbench.TellThroughputPerformanceSpec for throughput with high load
* TradingLatencyPerformanceSpec and microbench.TellLatencyPerformanceSpec for latency with moderate load
* Removed usage of JUnit
* Removed all usage of latches for flow control, instead replies with ordinary tell. This means that trading sample generates 4 msg for each transaction.
* Removed req-rsp test from trading, since it adds complexity and isn't realistic
2011-11-07 09:38:40 +01:00
Roland
6559511bce FSMTimingSpec overhaul
- revise timings to make them more robust (granularity changed in
  general from 100ms to 500ms)
- make one test more deterministic by awaiting context.hasMessages,
  which has been added for this purpose; is the same kind of “non-racy”
  as isShutdown
- add static version of TestKit.awaitCond (checked that it does not
  conflict, even when “import TestKit._” is used; seems like imports are
  not even searched if the symbol is found locally)
2011-11-06 12:10:14 +01:00
Derek Williams
1e3ab2645f Slight tweak to solution for ticket 1313 2011-11-05 12:48:19 -06:00
Roland
4f4227acf3 work-around compiler bug in ActiveRemoteClient
It seems that 2.9.1 has a bug when a constructor argument is passed to
superclass which makes a public field out of it under the same name:
scalac got confused and generated invokespecial byte-code which is
rejected by the verifier. One could argue that the verifier is too
strict in this case ...

So, I changed the names of the constructor arguments by prepending an
underscore and thus avoiding the clash.
2011-11-04 22:20:58 +01:00
Roland
b4ab6730ab fix Logging.format by implementing {} replacement directly 2011-11-04 19:01:08 +01:00
Viktor Klang
d8d322c6e8 Moving in Deployer udner the provider 2011-11-04 10:11:07 +01:00
Roland
3f21c8a2a6 fix ActorDocSpec by allowing INFO loglevel to pass through 2011-11-04 09:30:33 +01:00
Viktor Klang
a75310a181 Removing unused code in ReflectiveAccess, fixing a performance-related issue in LocalDeployer and switched back to non-systemServices in the LocalActorRefProviderSpec 2011-11-04 00:39:02 +01:00
Roland
7198dd6287 fix FSMActorSpec (wrongly setting loglevel) 2011-11-03 22:42:28 +01:00
Roland
d4c91ef61c expand MainBusSpec wrt. logLevel setting 2011-11-03 21:41:32 +01:00
Viktor Klang
a044e41008 Removing outdated and wrong serialization docs 2011-11-03 20:34:48 +01:00
viktorklang
5efe091ebc Merge pull request #103 from jboner/no-uuid
Profit! Removing Uuids from ActorCells and ActorRefs and essentially repl
2011-11-03 11:53:29 -07:00
Viktor Klang
e958987e5b Switching to AddressProtocol for the remote origin address 2011-11-03 19:32:53 +01:00
Roland
91bee0370c fix TestKit.receiveWhile when using implicitly discovered maximum wait
time (i.e. default argument)
2011-11-03 19:11:15 +01:00
Roland
05b9cbc8c7 fix LoggingReceiveSpec
- make sure that needed log channels are subscribed
- do not .stop() applications within test cases, that’s no good for
  following test cases (might change when we move to one app per case)
- re-enable and fix (adapting to message format changes) the life-cycle
  logging spec
2011-11-03 19:09:17 +01:00
Roland
b35f8dece0 incorporate review from Viktor & Jonas
- use intercept[]{} in PinnedActorSpec
- make Logging.logLevel_= thread safe
- add lots of scaladoc
- make more friendly to Java API
2011-11-03 18:56:20 +01:00
Viktor Klang
37ba03eadb Adding initial support in the protocol to get the public host/port of the connecting remote server 2011-11-03 18:33:57 +01:00
Viktor Klang
601df0421c Folding RemoteEncoder into the RemoteMarshallingOps 2011-11-03 15:42:46 +01:00
Viktor Klang
a040a0c54d Profit! Removing Uuids from ActorCells and ActorRefs and essentially replacing the remoting with a new implementation. 2011-11-03 14:53:38 +01:00
Viktor Klang
2f52f43fa8 Refining the DeadLetterActorRef serialization test to be a bit more specific 2011-11-01 11:31:53 +01:00
Viktor Klang
f427c99814 Merge branch 'master' of github.com:jboner/akka 2011-11-01 11:20:16 +01:00
Viktor Klang
3aed09c43d #1320 - Implementing readResolve and writeReplace for the DeadLetterActorRef 2011-11-01 11:20:02 +01:00
Peter Vlugter
06c66bd325 Fix deprecation warnings in sbt plugin 2011-11-01 11:10:14 +01:00
Viktor Klang
6e5de8bb23 Fixing a compilation quirk in Future.scala and switching to explicit timeout in TypedActor internals 2011-10-31 22:20:21 +01:00
Viktor Klang
a6c4bfa98c #1324 - making sure that ActorPools are prefilled 2011-10-31 22:18:21 +01:00
Viktor Klang
f5f2ac0bef Fixing erronous test renames 2011-10-31 16:09:54 +01:00
Viktor Klang
a52e0fa997 Renaming JavaAPI.java:mustAcceptSingleArgTryTell to mustAcceptSingleArgTell 2011-10-31 16:09:53 +01:00
Viktor Klang
24bac14afc Removing unused handleFailure-method 2011-10-31 16:09:53 +01:00
Viktor Klang
631c734d28 Increasing the timeout of the ActorPoolSpec for the typed actors 2011-10-31 16:09:53 +01:00
Viktor Klang
91545a4b52 Fixing TestActorRefSpec, now everything's green 2011-10-31 16:09:53 +01:00
Viktor Klang
d64b2a7292 All green, fixing issues with the new ask implementation and remoting 2011-10-31 16:09:53 +01:00
Viktor Klang
5d4ef80618 Fixing ActorModelSpec for CallingThreadDispatcher 2011-10-31 16:09:53 +01:00
Viktor Klang
df27942402 Fixing FutureSpec and adding finals to ActoCell and removing leftover debug print from TypedActor 2011-10-31 16:09:53 +01:00
Viktor Klang
029e1f539f Removing obsolete test for completing futures in the dispatcher 2011-10-31 16:09:53 +01:00
Viktor Klang
36c5919261 Porting the Supervisor spec 2011-10-31 16:09:53 +01:00
Viktor Klang
c37d673e14 Fixing ActorModelSpec to work with the new ask/? 2011-10-31 16:09:53 +01:00
Viktor Klang
c998485865 Fixing ask/? for the routers so that tests pass and stuff 2011-10-31 16:09:52 +01:00
Viktor Klang
e71d9f79f9 Fixing TypedActors so that exceptions are propagated back 2011-10-31 16:09:52 +01:00
Viktor Klang
cb1b461996 Fixing ActorRefSpec that depended on the semantics of ?/Ask to get ActorKilledException from PoisonPill 2011-10-31 16:09:52 +01:00
Viktor Klang
4ac7f4d858 Making sure that akka.transactor.test.CoordinatedIncrementSpec works with machines with less than 4 cores 2011-10-31 16:09:52 +01:00
Viktor Klang
8a7290ba7e Making sure that akka.transactor.test.TransactorSpec works with machines with less than 4 cores 2011-10-31 16:09:52 +01:00
Viktor Klang
0c3091729d Making sure that the JavaUntypedTransactorSpec works with tinier machines 2011-10-31 16:09:52 +01:00
Viktor Klang
f8ef63122a Fixing UntypedCoordinatedIncrementTest so it works with computers with less CPUs than 5 :p 2011-10-31 16:09:52 +01:00
Viktor Klang
26f45a599b Making walker a def in remote 2011-10-31 16:09:52 +01:00