Added comments for timeSlop.
parent
0bc289ec1b
commit
fee78b6548
|
@ -35,7 +35,9 @@ import (
|
||||||
|
|
||||||
func TestMemFS(t *testing.T) { RunTests(t) }
|
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
|
const timeSlop = 5 * time.Millisecond
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue