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

rpctest: Make tests work properly with latest code. #2614

Merged
merged 1 commit into from Mar 13, 2021

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Mar 10, 2021

This corrects the tests in the rpctest package to work properly with the latest code.

The tests were not failing by default because many of the tests in the rpctest package are not executed when only performing short tests which is the default mode used in run_tests.sh.

@davecgh davecgh added the test coverage Discussion and pull requests for improving test coverage. label Mar 10, 2021
@davecgh davecgh added this to the 1.7.0 milestone Mar 10, 2021
Copy link
Member

@dnldd dnldd left a comment

Choose a reason for hiding this comment

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

Confirmed the issue and tested the modifications made, working as expected.

Copy link
Member

@rstaudt2 rstaudt2 left a comment

Choose a reason for hiding this comment

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

Looks good. I validated that the tests now pass. What do you think about running these tests in CI, so they don't break moving forward?

@davecgh
Copy link
Member Author

davecgh commented Mar 13, 2021

What do you think about running these tests in CI, so they don't break moving forward?

They were disabled a while ago because they took >20 minutes to run and CI (TravisCI) was timing out. It might not be the case anymore since we moved over to GitHub actions, so it might be worth reconsidering it now. However, if we do enable them, I'd like to see them modified to run much more quickly since waiting that long to see the results of the tests is not very desirable, imo.

This corrects the tests in the rpctest package to work properly with the
latest code.

The tests were not failing by default because many of the tests in the
rpctest package are not executed when only performing short tests which
is the default mode used in run_tests.sh.
@davecgh davecgh merged commit 3aafa25 into decred:master Mar 13, 2021
@davecgh davecgh deleted the rpctest_latest_code_fixes branch March 13, 2021 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test coverage Discussion and pull requests for improving test coverage.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants