Эх сурвалжийг харах

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

accounts: increase re-lock timeout to account for slow CI servers
Felix Lange 10 жил өмнө
parent
commit
8db9d44ca9

+ 1 - 1
accounts/accounts_test.go

@@ -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)