Explorar o código

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

accounts: increase re-lock timeout to account for slow CI servers
Felix Lange %!s(int64=10) %!d(string=hai) anos
pai
achega
8db9d44ca9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      accounts/accounts_test.go

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