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

Fix (RPC) integration tests #95

Closed
wants to merge 4 commits into from
Closed

Fix (RPC) integration tests #95

wants to merge 4 commits into from

Conversation

liamsi
Copy link
Member

@liamsi liamsi commented Dec 12, 2019

Address #88: only fix the two failing integration tests

Tested locally via running tendermint node --proxy_app=kvstore and then running the ignored tests only via cargo test -- --nocapture --ignored. Tested against tendermint version 0.32.7.

WIP because:

  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote Updated tests (but could need more test using json fixtures instead!)
  • Updated CHANGES.md

 - add app_version & use #[serde(default)] to deal with omitted fields in JSON
 - make app_state in /genesis reply optional
 - fix string in abci_info test (kvstore wont reply with "GaiaApp")

 verify tests pass via running `tendermint node --proxy_app=kvstore` and
 `cargo test -- --nocapture --ignored
@liamsi liamsi marked this pull request as ready for review December 12, 2019 00:26
@liamsi liamsi requested a review from tarcieri December 12, 2019 00:27
@liamsi liamsi changed the title Fix integration tests WIP: Fix integration tests Dec 12, 2019
for an additional Option<> around a skipped field (due to omitempty)
@liamsi liamsi changed the title WIP: Fix integration tests Fix integration tests Mar 9, 2020
@liamsi liamsi changed the title Fix integration tests Fix (RPC) integration tests Mar 13, 2020
@liamsi liamsi requested review from Shivani912 and brapse March 13, 2020 17:35
@greg-szabo
Copy link
Member

The useful bits of this somewhat old PR was merged into the v0.33 branch where we collect all these fixes. I'm closing this one, thanks Ismail for all the work!
(I cherry-picked the commits, so you're still mentioned as author.)

@greg-szabo greg-szabo closed this Mar 26, 2020
@liamsi
Copy link
Member Author

liamsi commented Mar 26, 2020

Thanks @greg-szabo !

@liamsi liamsi deleted the fix_integration_tests branch April 23, 2020 21:26
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