You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
jonathanptew
changed the title
SyncCache<?>.invalidateAll() doesn't seem to work in basic implementation
SyncCache<...>.invalidateAll() is not calling/triggering the method annotated with @CacheInvalidate(all = true)
Sep 13, 2021
Expected Behavior
In each test I expect that the number of entries in the internal cache object should be 0.
ServiceWithCacheExplictResetTest behaves as expected but doesn't use micronaut's cache invalidation
Actual Behaviour
cache.invalidateAll()
doesn't trigger calls toreset()
Steps To Reproduce
Environment Information
❯ mvn --version
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /usr/local/Cellar/maven/3.8.1
Java version: 16.0.2, vendor: Homebrew, runtime: /usr/local/Cellar/openjdk/16.0.2/libexec/openjdk.jdk/Contents/Home
Default locale: en_NZ, platform encoding: UTF-8
OS name: "mac os x", version: "11.5.2", arch: "x86_64", family: "mac"
Example Application
https://github.com/jonathanptew/micronaut-cache-example/
Version
2.5.13
The text was updated successfully, but these errors were encountered: