Commit a3f55987 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Increase time interval in TestTime.

The lower interval made us too sensible too scheduling.
parent dd4dbeae
......@@ -40,10 +40,10 @@ func TestTime(t *testing.T) {
}
c = Jiffies()
time.Sleep(time.Second * 100000 / JiffiesPerSec)
time.Sleep(time.Second * 10000000 / JiffiesPerSec)
d = Jiffies() - c
if differs(d, 100000, 10000) {
t.Errorf("Expected %v, got %v", 4000, d)
if differs(d, 10000000, 1000000) {
t.Errorf("Expected %v, got %v", 10000000, d)
}
}
......
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