Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Describe what the cache tests cover
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/t0003-cache.sh | 7 |
1 file changed, 5 insertions, 2 deletions
diff --git a/tests/t0003-cache.sh b/tests/t0003-cache.sh index 365e257..d8051d9 100755 --- a/tests/t0003-cache.sh +++ b/tests/t0003-cache.sh @@ -1,7 +1,10 @@ #!/bin/sh -# Exercises the cache. The first three tests set cache-size to nothing, one -# slot and the full table in turn, then count what the requests left behind. +# Checks the page cache and the scan cache. A page is kept in a slot named +# after its request, filled under a lock that a second request must respect, +# and served stale while another request refreshes it, within the ttls and +# size bounds cgitrc sets. A scan-path list is kept in a file named after the +# settings that shaped it and rebuilt in the background once it expires. test_description='Validate cache' . ./setup.sh |
