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

testing: tests were not being run on all dbs #42

Closed
wants to merge 9 commits into from

Conversation

tac0turtle
Copy link
Contributor

  • added tsting for all dbs
  • this should of been caught earlier
  • will add this to ci as well

Signed-off-by: Marko Baricevic marbar3778@yahoo.com

- added tsting for all dbs
- this should of been caught earlier
- will add this to ci as well

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
@tac0turtle
Copy link
Contributor Author

tac0turtle commented Jan 16, 2020

prior to the interface errors refactor I believe rocksdb was not abiding by the interface. This will help avoid all of this

@tac0turtle
Copy link
Contributor Author

this is blocked on getting a docker image produced. have a PR here: tendermint/images#37

@tac0turtle tac0turtle added T:blocked Type: Blocked S:wip Status: Work In Progress labels Jan 16, 2020
@tac0turtle
Copy link
Contributor Author

add codecov in with this PR since ci is being touched, it would be useful

@tac0turtle tac0turtle removed the T:blocked Type: Blocked label Jan 17, 2020
makefile Outdated

test-all:
@echo "--> Running go test"
@go test -p 1 $(PACKAGES) -tags cleveldb,boltdb
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
@go test -p 1 $(PACKAGES) -tags cleveldb,boltdb
@go test -p 1 $(PACKAGES) -tags cleveldb,boltdb,rocksdb

add back rocksdb

@erikgrinaker
Copy link
Contributor

What is remaining here?

@tac0turtle
Copy link
Contributor Author

just need to pass the correct path to rocksdb when running the tests

@erikgrinaker
Copy link
Contributor

Do you mind if I pick this up? I'm seeing some bugs in the other backends that would be caught by the common test suite.

@tac0turtle
Copy link
Contributor Author

yea for sure!! thank you

@erikgrinaker
Copy link
Contributor

Closing in favor of #64, since most changes here have been ported to master separately.

@tac0turtle tac0turtle deleted the marko/ci_testing-work branch March 11, 2020 10:28
faddat pushed a commit to notional-labs/tm-db that referenced this pull request May 8, 2022
faddat pushed a commit to faddat/tm-db that referenced this pull request Feb 21, 2024
* use grocksdb to support latest version of rocksdb

also add API `NewRocksDBWithRawDB` to support read-only open mode and customize options

* update rocksdb version for ci testing

* build(deps): bump docker/setup-buildx-action from 2.4.1 to 2.5.0 (tendermint#47)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix ci test

* grocksdb v1.7.16

* rocksdb v7.10.2

* changelog

* fix changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Thane Thomson <connect@thanethomson.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S:wip Status: Work In Progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants