mkporwit
10/16/2017, 8:21 AMclass ProfileTests {
companion object {
val userProfileRedisContainer = KGenericContainer("redis:latest").withExposedPorts(6379)!!
@BeforeClass
@JvmStatic
fun classSetup() {
userProfileRedisContainer.start()
}
@AfterClass
@JvmStatic
fun classShutdown() {
userProfileRedisContainer.stop()
}
}
private val userProfileRedis = makeRedisHandler(userProfileRedisContainer.containerIpAddress, userProfileRedisContainer.getMappedPort(6379))