Skip to content

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Jun 8, 2021

Some tests take quite some time during exit, which I think causes some appveyor fails like this: https://ci.appveyor.com/project/ethereum/go-ethereum/builds/39511210/job/xhom84eg2e4uulq3

One of the things that seem to take time during exit is waiting for (up to 100ms) for the syncbloom to close. This PR changes it to use a channel, instead of looping with a 100ms wait.

On master:

[user@work eth]$ go test . -run TestTransactionPropagation66 --count 5
ok      github.com/ethereum/go-ethereum/eth     7.414s
[user@work eth]$ go test . -run TestTransactionPropagation66 --count 5
ok      github.com/ethereum/go-ethereum/eth     8.026s
[user@work eth]$ go test . -run TestTransactionPropagation66 --count 5
ok      github.com/ethereum/go-ethereum/eth     7.763s

On this PR:

[user@work eth]$ go test . -run TestTransactionPropagation66 --count 5
ok      github.com/ethereum/go-ethereum/eth     3.423s
[user@work eth]$ go test . -run TestTransactionPropagation66 --count 5
ok      github.com/ethereum/go-ethereum/eth     3.331s
[user@work eth]$ go test . -run TestTransactionPropagation66 --count 5
ok      github.com/ethereum/go-ethereum/eth     3.330s

@fjl fjl merged commit c131e81 into ethereum:master Jun 30, 2021
@fjl fjl added this to the 1.10.5 milestone Jun 30, 2021
sidhujag pushed a commit to sidhujag/go-ethereum that referenced this pull request Jul 1, 2021
Some tests take quite some time during exit, which I think causes
some appveyor fails like this:

    https://ci.appveyor.com/project/ethereum/go-ethereum/builds/39511210/job/xhom84eg2e4uulq3

One of the things that seem to take time during exit is waiting
(up to 100ms) for the syncbloom to close. This PR changes it to use
a channel, instead of looping with a 100ms wait.

This also includes some unrelated changes improving the reliability of
eth/fetcher tests, which fail a lot because they are time-dependent.
atif-konasl pushed a commit to frozeman/pandora-execution-engine that referenced this pull request Oct 15, 2021
Some tests take quite some time during exit, which I think causes
some appveyor fails like this:

    https://ci.appveyor.com/project/ethereum/go-ethereum/builds/39511210/job/xhom84eg2e4uulq3

One of the things that seem to take time during exit is waiting
(up to 100ms) for the syncbloom to close. This PR changes it to use
a channel, instead of looping with a 100ms wait.

This also includes some unrelated changes improving the reliability of
eth/fetcher tests, which fail a lot because they are time-dependent.
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jun 9, 2025
…m#23415

Some tests take quite some time during exit, which I think causes
some appveyor fails like this:

    https://ci.appveyor.com/project/ethereum/go-ethereum/builds/39511210/job/xhom84eg2e4uulq3

One of the things that seem to take time during exit is waiting
(up to 100ms) for the syncbloom to close. This PR changes it to use
a channel, instead of looping with a 100ms wait.

This also includes some unrelated changes improving the reliability of
eth/fetcher tests, which fail a lot because they are time-dependent.
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Jun 9, 2025
…m#23415

Some tests take quite some time during exit, which I think causes
some appveyor fails like this:

    https://ci.appveyor.com/project/ethereum/go-ethereum/builds/39511210/job/xhom84eg2e4uulq3

One of the things that seem to take time during exit is waiting
(up to 100ms) for the syncbloom to close. This PR changes it to use
a channel, instead of looping with a 100ms wait.

This also includes some unrelated changes improving the reliability of
eth/fetcher tests, which fail a lot because they are time-dependent.
gzliudan added a commit to XinFinOrg/XDPoSChain that referenced this pull request Jun 17, 2025
…m#23415 (#1070)

Some tests take quite some time during exit, which I think causes
some appveyor fails like this:

    https://ci.appveyor.com/project/ethereum/go-ethereum/builds/39511210/job/xhom84eg2e4uulq3

One of the things that seem to take time during exit is waiting
(up to 100ms) for the syncbloom to close. This PR changes it to use
a channel, instead of looping with a 100ms wait.

This also includes some unrelated changes improving the reliability of
eth/fetcher tests, which fail a lot because they are time-dependent.

Co-authored-by: Martin Holst Swende <martin@swende.se>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants