aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2017-11-16 22:01:02 +0800
committerAnton Evangelatov <anton.evangelatov@gmail.com>2017-11-16 22:01:02 +0800
commitb64525694b81d4f278b8d4690d29416844c72349 (patch)
tree568478215d4adae1bbffa2f05412403f68e5ac73 /accounts
parent448abb61eba5f5acbafed46da405cf2f66582dd6 (diff)
downloadgo-tangerine-b64525694b81d4f278b8d4690d29416844c72349.tar
go-tangerine-b64525694b81d4f278b8d4690d29416844c72349.tar.gz
go-tangerine-b64525694b81d4f278b8d4690d29416844c72349.tar.bz2
go-tangerine-b64525694b81d4f278b8d4690d29416844c72349.tar.lz
go-tangerine-b64525694b81d4f278b8d4690d29416844c72349.tar.xz
go-tangerine-b64525694b81d4f278b8d4690d29416844c72349.tar.zst
go-tangerine-b64525694b81d4f278b8d4690d29416844c72349.zip
accounts/keystore: comments above time.Sleep
Diffstat (limited to 'accounts')
-rw-r--r--accounts/keystore/account_cache_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/accounts/keystore/account_cache_test.go b/accounts/keystore/account_cache_test.go
index 9bbc1b2ef..fe9233c04 100644
--- a/accounts/keystore/account_cache_test.go
+++ b/accounts/keystore/account_cache_test.go
@@ -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