Commit 0c88a201 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Fix test for some opteron cpus.

parent e77a76da
......@@ -19,7 +19,9 @@ func TestTimedCache(t *testing.T) {
}
var ttl int64
ttl = 1e6
// This fails with 1e6 on some Opteron CPUs.
ttl = 1e8
cache := NewTimedCache(fetch, ttl)
v := cache.Get("n").(*int)
......
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