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

Integration tests using solid docker builds to check operations in live scenario #135

Closed
4 of 5 tasks
Tracked by #121
blythed opened this issue May 22, 2023 · 0 comments
Closed
4 of 5 tasks
Tracked by #121
Assignees
Milestone

Comments

@blythed
Copy link
Collaborator

blythed commented May 22, 2023

Why

We would like to make our testing environment as isolated as much as possible.

To start with, we should run mongodb in a dedicated container and clean its state for each test.

Eventually we will need to integrate more 3rd-party components and docker-based test fixtures will help use a lot.

How

Use docker-compose or similar to set up clear testing environment, pinning all dependencies. Add component in the compose.yaml file corresponding to all bits and pieces. Can be based on https://github.com/SuperDuperDB/superduperdb-stealth/blob/main/tests/material/supervisord/supervisord.conf.

Currently we have an environment variable SUPERDUPERDB_TEST_REMOTE to toggle integration tests on-off. Potentially necessary to refactor.

What

  • test Dask jobs
  • test CDC
  • test client server
  • test jupyter notebooks
  • test vector-search
@dalazx dalazx self-assigned this May 23, 2023
@blythed blythed added this to the v0.1 milestone May 23, 2023
@blythed blythed added the story label May 23, 2023
@dalazx dalazx moved this from To Do to In Progress in superduper-open-source May 23, 2023
@blythed blythed closed this as completed Jul 3, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in superduper-open-source Jul 3, 2023
@blythed blythed reopened this Jul 3, 2023
@blythed blythed moved this from Done to To Do in superduper-open-source Jul 4, 2023
@blythed blythed moved this from To Do to In Progress in superduper-open-source Jul 11, 2023
@blythed blythed moved this from In Progress to Review in superduper-open-source Jul 14, 2023
@blythed blythed moved this from Review to Done in superduper-open-source Jul 28, 2023
@blythed blythed closed this as completed Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants