spring-aot-smoke-tests icon indicating copy to clipboard operation
spring-aot-smoke-tests copied to clipboard

Add smoke test for spring-boot-starter-cache

Open mhalbritter opened this issue 3 years ago • 3 comments

  • [x] ~Hazelcast~
  • [ ] JCache
  • [ ] Couchbase
  • [x] Redis
  • [x] Caffeine
  • [x] ~Cache2k~
  • [x] Simple

mhalbritter avatar Jul 28 '22 14:07 mhalbritter

Getting couchbase to just start up in docker is little bit more complicated: https://stackoverflow.com/questions/69842680/couchbase-with-docker-compose-unable-to-insert-durabilityimpossibleerror

The official guide always the user to click through some UI to get a working cluster.

mhalbritter avatar Aug 09 '22 13:08 mhalbritter

As discussed with @odrotbohm and @snicoll, JCache support is current broken at AOT generated code level:

[ERROR]   location: variable instance of type org.springframework.cache.jcache.config.ProxyJCacheConfiguration /Users/odrotbohm/Documents/workspace/spring-petclinic/target/spring-aot/main/sources/org/springframework/cache/jcache/config/ProxyJCacheConfiguration__Autowiring.java 16:136

sdeleuze avatar Oct 03 '22 06:10 sdeleuze

It should be mentioned that the smoke test for Hazelcast has been removed. Same for cache2k.

snicoll avatar May 03 '24 09:05 snicoll