File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -21,23 +21,27 @@ testCacheInvalidation() {
21
21
22
22
# Cold cache
23
23
compile " package-names" " ${cache_dir} "
24
+ cat ${STD_OUT}
24
25
assertCaptured " Detected Aptfile or Stack changes, flushing cache"
25
26
assertCapturedSuccess
26
27
27
28
# Warm cache
28
29
compile " package-names" " ${cache_dir} "
30
+ cat ${STD_OUT}
29
31
assertCaptured " Reusing cache"
30
32
assertCapturedSuccess
31
33
32
34
# Cache invalidated on stack change
33
35
compile " package-names" " ${cache_dir} "
34
36
echo ' some-old-stack' > " ${cache_dir} /.apt/STACK"
37
+ cat ${STD_OUT}
35
38
assertCaptured " Detected Aptfile or Stack changes, flushing cache"
36
39
assertCapturedSuccess
37
40
38
41
# Cache invalidated if stack version file missing (eg cache from old buildpack version)
39
42
compile " package-names" " ${cache_dir} "
40
43
rm " ${cache_dir} /.apt/STACK"
44
+ cat ${STD_OUT}
41
45
assertCaptured " Detected Aptfile or Stack changes, flushing cache"
42
46
assertCapturedSuccess
43
47
}
You can’t perform that action at this time.
0 commit comments