Skip to content

Travis test (not to merge): Introduce silent bug in CFeeRate - #7727

Closed
jtimon wants to merge 1 commit into
bitcoin:masterfrom
jtimon:0.12.99-feerate-test-bug
Closed

jtimon wants to merge 1 commit into
bitcoin:masterfrom
jtimon:0.12.99-feerate-test-bug

Conversation

@jtimon

@jtimon jtimon commented Mar 21, 2016

Copy link
Copy Markdown
Contributor

This passes unittests and python ./qa/pull-tester/rpc-tests.py -extended.
I just want to make sure this passes travis before proposing a test that would make this change fail.
I know it may not be very important or a priority right now, but since I have it done already, one more check in the unittests won't harm.
Please, don't merge.

@maflcko

maflcko commented Mar 21, 2016

Copy link
Copy Markdown
Member

I don't think this constructor is used right now, so the compiler will probably wipe it and it should not make a difference for travis.

@jtimon

jtimon commented Mar 21, 2016

Copy link
Copy Markdown
Contributor Author

If it wasn't used, my new test (see #7728 ) shouldn't fail with this change either, but it does.

@laanwj

laanwj commented Mar 21, 2016

Copy link
Copy Markdown
Member

Good catch, this definitely needs a test

@maflcko

maflcko commented Mar 21, 2016

Copy link
Copy Markdown
Member

Indeed, it is used. Happy to review if you submit the patch for the tests.

@jtimon

jtimon commented Mar 21, 2016

Copy link
Copy Markdown
Contributor Author

I'm glad that this is helpful, the fix test is in #7728 (sorry, I opened the PR without paying attention to github, which was telling me I needed to rebase on top of #7705 ).

I actually "wasted" much more time than expected on a draft branch to make a point that shouldn't have taken me much time because this test didn't exist. But what I did is kind of a long story with some embarrassing parts that I'm still not sure I want to publish. More details in a follow up discussion PR though (separated from #7728 ).

Anyway, point made, closing this now, please go to #7728 to review the additional test.

@jtimon jtimon closed this Mar 21, 2016
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants