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

chore: add integration test for cluster mode. #646

Merged
merged 7 commits into from
Feb 23, 2023
Merged

chore: add integration test for cluster mode. #646

merged 7 commits into from
Feb 23, 2023

Conversation

ZuLiangWang
Copy link
Contributor

Which issue does this PR close?

Closes #

Rationale for this change

Add integration test for cluster mode.

What changes are included in this PR?

  • Add docker-compose file to start CeresDB and CeresMeta cluster.
  • Add CI for cluster mode.
  • Update database.rs to support cluster mode sqlness.

Are there any user-facing changes?

None.

How does this change test

Test workflow in my fork repository. https://github.com/ZuLiangWang/ceresdb/actions

@ZuLiangWang ZuLiangWang changed the title add cluster TSBS chore: add cluster TSBS Feb 14, 2023
@ZuLiangWang ZuLiangWang changed the title chore: add cluster TSBS chore: add integration test for cluster mode. Feb 14, 2023
@codecov-commenter
Copy link

codecov-commenter commented Feb 14, 2023

Codecov Report

Merging #646 (1847281) into main (ce9fa87) will decrease coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 1847281 differs from pull request most recent head a09fe20. Consider uploading reports for the commit a09fe20 to get more accurate results

@@            Coverage Diff             @@
##             main     #646      +/-   ##
==========================================
- Coverage   66.94%   66.94%   -0.01%     
==========================================
  Files         283      283              
  Lines       43969    43969              
==========================================
- Hits        29435    29433       -2     
- Misses      14534    14536       +2     
Impacted Files Coverage Δ
components/skiplist/src/list.rs 98.87% <0.00%> (-0.23%) ⬇️
analytic_engine/src/manifest/details.rs 95.75% <0.00%> (-0.20%) ⬇️
wal/src/rocks_impl/manager.rs 92.53% <0.00%> (-0.19%) ⬇️
analytic_engine/src/row_iter/merge.rs 88.76% <0.00%> (+0.18%) ⬆️
analytic_engine/src/instance/write_worker.rs 72.01% <0.00%> (+0.19%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

docker/example-standalone.toml Outdated Show resolved Hide resolved
docker/example-cluster-1.toml Outdated Show resolved Hide resolved
integration_tests/Cargo.toml Outdated Show resolved Hide resolved
integration_tests/src/database.rs Outdated Show resolved Hide resolved
integration_tests/src/database.rs Outdated Show resolved Hide resolved
integration_tests/src/database.rs Outdated Show resolved Hide resolved
integration_tests/src/database.rs Outdated Show resolved Hide resolved
integration_tests/src/main.rs Outdated Show resolved Hide resolved
@jiacai2050
Copy link
Contributor

Don't need to duplicate test cases files, add a common dir, and soft link to both local and cluster.

This require this commit CeresDB/sqlness#35, you can bump sqlness first.

build debug banary image

fix common link
remove builder
Copy link
Contributor

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

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

LGTM

@ZuLiangWang ZuLiangWang added this pull request to the merge queue Feb 23, 2023
Merged via the queue into apache:main with commit e126ec1 Feb 23, 2023
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request May 15, 2023
* add integration for cluster mode

* add common case link

* add cluster stop

* remove builder

build debug banary image

fix common link

* update result

* fix clippy

remove builder

* refactor by cr
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.

5 participants