Skip to content

Commit b64aa54

Browse files
committed
debug
1 parent 29c50a8 commit b64aa54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/run

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,27 @@ testCacheInvalidation() {
2121

2222
# Cold cache
2323
compile "package-names" "${cache_dir}"
24+
cat ${STD_OUT}
2425
assertCaptured "Detected Aptfile or Stack changes, flushing cache"
2526
assertCapturedSuccess
2627

2728
# Warm cache
2829
compile "package-names" "${cache_dir}"
30+
cat ${STD_OUT}
2931
assertCaptured "Reusing cache"
3032
assertCapturedSuccess
3133

3234
# Cache invalidated on stack change
3335
compile "package-names" "${cache_dir}"
3436
echo 'some-old-stack' > "${cache_dir}/.apt/STACK"
37+
cat ${STD_OUT}
3538
assertCaptured "Detected Aptfile or Stack changes, flushing cache"
3639
assertCapturedSuccess
3740

3841
# Cache invalidated if stack version file missing (eg cache from old buildpack version)
3942
compile "package-names" "${cache_dir}"
4043
rm "${cache_dir}/.apt/STACK"
44+
cat ${STD_OUT}
4145
assertCaptured "Detected Aptfile or Stack changes, flushing cache"
4246
assertCapturedSuccess
4347
}

0 commit comments

Comments
 (0)