Fix compilation of tests
authorChristos KK Loverdos <loverdos@gmail.com>
Thu, 19 Apr 2012 11:12:54 +0000 (14:12 +0300)
committerChristos KK Loverdos <loverdos@gmail.com>
Thu, 19 Apr 2012 11:12:54 +0000 (14:12 +0300)
src/test/scala/gr/grnet/aquarium/rest/actor/RESTActorTest.scala
src/test/scala/gr/grnet/aquarium/user/UserStateComputationsTest.scala

index e32daa7..d4b651e 100644 (file)
@@ -60,7 +60,7 @@ class RESTActorTest {
     // Initialize configuration subsystem
     val mc = Configurator.MasterConfigurator
     mc.startServices()
-    val port = mc.getInt(Configurator.Keys.rest_port).getOr(
+    val port = mc.props.getInt(Configurator.Keys.rest_port).getOr(
       throw new AquariumException("No %s specified in aquarium properties".format(Configurator.Keys.rest_port)))
     val dialog = SprayHttpDialog("localhost", port)
 
index 862f106..c1a2765 100644 (file)
@@ -209,7 +209,7 @@ aquariumpolicy:
   val BandwidthResourceSim = StdBandwidthResourceSim.fromPolicy(DefaultPolicy)
 
   // There are two client services, synnefo and pithos.
-  val TheUIDGenerator: UIDGenerator = new ConcurrentVMLocalUIDGenerator
+  val TheUIDGenerator: UIDGenerator[_] = new ConcurrentVMLocalUIDGenerator
   val Synnefo = ClientSim("synnefo")(TheUIDGenerator)
   val Pithos  = ClientSim("pithos" )(TheUIDGenerator)