-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
itest: add bitcoind test without txindex enabled #4617
Conversation
2b0c8d8
to
ca3d0b1
Compare
Changes LGTM, was the build intentionally canceled? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ca3d0b1
to
8556cef
Compare
Haha, thanks for the reviews! I was still trying things out with this. I canceled the build because I made a mistake with the build flags, the btcd tests failed. I'm not sure we can keep things as they are right now. Because Travis will only start 5 of the 6 tests in parallel. So this could end up taking more than an hour if the last test is only run after another is completed. |
Can we up our travis quota? |
I think for now we should proceed with or without the bump in travis jobs. Maybe that will act as a forcing function... Needs a rebase!! |
8556cef
to
610927b
Compare
Rebased. |
Doesn't compile? |
To prepare for running multiple tests on bitcoind with different options each time, we extract the common code into its own file.
We create a new build flag for running the bitcoind tests without the txindex enabled. We don't want this to be the default so we use a negated build flag.
610927b
to
4dcdfd9
Compare
Oops, fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Fixes #1948.
Adds a secondary
bitcoind
integration test that runs without the-txindex
flag set on the chain backend.