mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
fix: reduce test round to fix the flaky test
This commit is contained in:
parent
cef3a9a762
commit
22a1da1c65
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ func TestWalletNotifications(t *testing.T) {
|
||||||
live = make(map[common.Address]accounts.Account)
|
live = make(map[common.Address]accounts.Account)
|
||||||
wantEvents []walletEvent
|
wantEvents []walletEvent
|
||||||
)
|
)
|
||||||
for i := 0; i < 1024; i++ {
|
for i := 0; i < 500; i++ {
|
||||||
if create := len(live) == 0 || rand.Int()%4 > 0; create {
|
if create := len(live) == 0 || rand.Int()%4 > 0; create {
|
||||||
// Add a new account and ensure wallet notifications arrives
|
// Add a new account and ensure wallet notifications arrives
|
||||||
account, err := ks.NewAccount("")
|
account, err := ks.NewAccount("")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue