accounts: increase re-lock timeout to account for slow CI servers

This commit is contained in:
Péter Szilágyi 2015-12-01 13:20:43 +02:00
parent f801ec78ce
commit 2e43414c79

View File

@ -68,7 +68,7 @@ func TestTimedUnlock(t *testing.T) {
}
// Signing fails again after automatic locking
time.Sleep(150 * time.Millisecond)
time.Sleep(350 * time.Millisecond)
_, err = am.Sign(a1, testSigData)
if err != ErrLocked {
t.Fatal("Signing should've failed with ErrLocked timeout expired, got ", err)