Merge pull request #2025 from karalabe/windows-account-unlock-testfix

accounts: increase re-lock timeout to account for slow CI servers
This commit is contained in:
Felix Lange 2015-12-01 13:23:31 +01:00
commit 8db9d44ca9

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)