Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskleeh committed May 17, 2017
1 parent 1e1c374 commit 2124181
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion grails-app/services/com/demo/BasicCachingService.groovy
Expand Up @@ -28,7 +28,7 @@ class BasicCachingService {
}
// end::get_data[]

@CacheEvict(value = "basic")
@CacheEvict(value = "basic", allEntries = true)
def resetData() {
invocationCounter = 0
invocationCounter2 = 100
Expand Down
Expand Up @@ -20,10 +20,10 @@ import org.grails.plugin.cache.GrailsCacheManagerAware
@CompileStatic
class GrailsCacheAdminService implements GrailsCacheManagerAware {

@CacheEvict(value="grailsBlocksCache")
@CacheEvict(value="grailsBlocksCache", allEntries = true)
void clearBlocksCache() {}

@CacheEvict(value="grailsTemplatesCache")
@CacheEvict(value="grailsTemplatesCache", allEntries = true)
void clearTemplatesCache() {}

void clearCache(CharSequence cacheName) {
Expand Down

0 comments on commit 2124181

Please sign in to comment.