mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-23 11:28:14 +00:00
accounts/keystore: comments above time.Sleep
This commit is contained in:
parent
448abb61eb
commit
b64525694b
1 changed files with 3 additions and 0 deletions
|
|
@ -349,6 +349,7 @@ func TestUpdatedKeyfileContents(t *testing.T) {
|
|||
return
|
||||
}
|
||||
|
||||
// needed so that modTime of `file` is different to its current value after forceCopyFile
|
||||
time.Sleep(1000 * time.Millisecond)
|
||||
|
||||
// Now replace file contents
|
||||
|
|
@ -364,6 +365,7 @@ func TestUpdatedKeyfileContents(t *testing.T) {
|
|||
return
|
||||
}
|
||||
|
||||
// needed so that modTime of `file` is different to its current value after forceCopyFile
|
||||
time.Sleep(1000 * time.Millisecond)
|
||||
|
||||
// Now replace file contents again
|
||||
|
|
@ -379,6 +381,7 @@ func TestUpdatedKeyfileContents(t *testing.T) {
|
|||
return
|
||||
}
|
||||
|
||||
// needed so that modTime of `file` is different to its current value after ioutil.WriteFile
|
||||
time.Sleep(1000 * time.Millisecond)
|
||||
|
||||
// Now replace file contents with crap
|
||||
|
|
|
|||
Loading…
Reference in a new issue