18:34:09.552 [ScalaTest-run] ERROR o.a.cassandra.service.StartupChecks - cassandra.jmx.local.port missing from cassandra-env.sh, unable to start local JMX service.
class PortfolioServiceSpec extends AsyncWordSpec with Matchers with BeforeAndAfterAll {
lazy val server = ServiceTest.startServer(ServiceTest.defaultSetup.withCassandra(true)) { ctx =>
new PortfolioApplication(ctx) with LocalServiceLocator
}
lazy val client = server.serviceClient.implement[PortfolioService]
private val portfolioId = UUID.randomUUID()
private val accountId = UUID.randomUUID()
private val pd= PortfolioData(accountId, LocalDate.now(), "SGD", 1, BigDecimal.valueOf(0))
"The PortfolioService" should {
"create portfolio" in {
client.createPortfolio().invoke(pd).map{
response => response.riskPreference should ===(1)
}
}
}
override protected def beforeAll() = server
override protected def afterAll() = server.stop()
}
Full error message is attached as a text file.
Do you have any ideas?
Regards,
Joo
--
You received this message because you are subscribed to the Google Groups "Lagom Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lagom-framework+unsubscribe@googlegroups.com.
To post to this group, send email to lagom-framework@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lagom-framework/f2af2074-fdfe-4be9-a604-26fa734c0e48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to lagom-framewo...@googlegroups.com.
To post to this group, send email to lagom-f...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lagom-framework/f2af2074-fdfe-4be9-a604-26fa734c0e48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.