spring-aot-smoke-tests
spring-aot-smoke-tests copied to clipboard
Add smoke test for spring-boot-starter-cache
- [x] ~Hazelcast~
- [ ] JCache
- [ ] Couchbase
- [x] Redis
- [x] Caffeine
- [x] ~Cache2k~
- [x] Simple
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.
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
It should be mentioned that the smoke test for Hazelcast has been removed. Same for cache2k.