mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
les: fix les timeout unit test
This commit is contained in:
parent
5b5a147227
commit
33400e64eb
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ func TestNodeDBExpiration(t *testing.T) {
|
|||
if iterated != 4 {
|
||||
t.Fatalf("Failed to evict useless negative balances, want %v, got %d", 4, iterated)
|
||||
}
|
||||
|
||||
time.Sleep(100 * time.Millisecond) // Ensure the callback has been registered to virtual clock
|
||||
for _, c := range cases {
|
||||
ndb.setNB(c.ip, c.balance)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue