commit | a5d3e7c8ca71b3c6e1dc2146cac8e39d7126d9b6 | [log] [tgz] |
---|---|---|
author | Hanno Hecker <vetinari@ankh-morp.org> | Sun Jan 24 08:02:52 2016 +0100 |
committer | Steve Francia <steve.francia@gmail.com> | Mon Jan 25 14:07:15 2016 -0500 |
tree | e16674097b0012ee3169453de870715a3fb512f6 | |
parent | 1f64d06ebebeb5ba7b9ccef1064e2542461cd8bd [diff] |
fix for OsFs w/ lower timestamp resolution
diff --git a/memmap_test.go b/memmap_test.go index 6e0f826..44d525b 100644 --- a/memmap_test.go +++ b/memmap_test.go
@@ -241,8 +241,8 @@ time.Sleep(2 * time.Second) case "darwin": time.Sleep(1 * time.Second) - default: - time.Sleep(10 * time.Millisecond) + default: // depending on the FS, this may work with < 1 second, on my old ext3 it does not + time.Sleep(1 * time.Second) } _, err = f.Write([]byte("test"))