Commit fee78b65 authored by Aaron Jacobs's avatar Aaron Jacobs

Added comments for timeSlop.

parent 0bc289ec
......@@ -35,7 +35,9 @@ import (
func TestMemFS(t *testing.T) { RunTests(t) }
// TODO(jacobsa): Comments.
// The radius we use for "expect mtime is within"-style assertions. We can't
// share a synchronized clock with the ultimate source of mtimes because with
// writeback caching enabled the kernel manufactures them based on wall time.
const timeSlop = 5 * time.Millisecond
////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment