Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flaky decorator to geth estimate_gas #2418

Merged
merged 4 commits into from
Apr 11, 2022

Conversation

kclowes
Copy link
Collaborator

@kclowes kclowes commented Apr 8, 2022

What was wrong?

Geth integration tests started failing an annoying amount again.

Related to Issue #

How was it fixed?

Added a flaky decorator with a default of 3 runs. If that doesn't fix it, I think the next step would be do something like:

@pytest.mark.xfail(strict=False)

I ran the suite a bunch of times and didn't see any failures, so we'll see how it goes.

Todo:

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@kclowes kclowes force-pushed the add-flaky-to-tests branch from b67039c to aa6232e Compare April 11, 2022 17:48
@kclowes kclowes force-pushed the add-flaky-to-tests branch from aa6232e to 11de471 Compare April 11, 2022 17:57
@kclowes kclowes force-pushed the add-flaky-to-tests branch from c57fcd5 to 83fcdd4 Compare April 11, 2022 18:14
@kclowes kclowes changed the title [WIP] Add flaky decorator to geth estimate_gas Add flaky decorator to geth estimate_gas Apr 11, 2022
@kclowes kclowes requested review from wolovim, fselmo and pacrob April 11, 2022 18:53
Copy link
Contributor

@pacrob pacrob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Copy link
Collaborator

@fselmo fselmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm! Thanks for this!

@kclowes kclowes merged commit 2cd75fd into ethereum:master Apr 11, 2022
kclowes added a commit to kclowes/web3.py that referenced this pull request Apr 11, 2022
* Add flaky decorator to geth gas estimation tests

* Add newsfragment
fselmo pushed a commit to fselmo/web3.py that referenced this pull request May 2, 2022
* Add flaky decorator to geth gas estimation tests

* Add newsfragment

(cherry picked from commit 2cd75fd)
fselmo pushed a commit to fselmo/web3.py that referenced this pull request May 2, 2022
* Add flaky decorator to geth gas estimation tests

* Add newsfragment

(cherry picked from commit 2cd75fd)
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.

3 participants