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

Support Using TestContainers for our Integration Tests #4626

Closed
wants to merge 1 commit into from

Conversation

jamlo
Copy link
Contributor

@jamlo jamlo commented Oct 15, 2024

This PR adds a test suite utilizing TestContainers. It support spinning up docker compose stacks with all bacalhau components, thus resembling production setup.

This is not a complete TestSuite, but a big initial step towards consolidating out testing and evaluating TestContainers usage.

1- Allow us to run integration tests against a docker compose
deployment of bacalhau

2- Bacalhau compute/requestor configuration can be injected in the
container before start. We do not need to rebuild it every time

3- Tests are separated into suites which allows the combination of
similar tests together that will use the same docker compose
deployment. Help speed up things

4- Docker compose deployment has a local registry as well as a minio
server running. This expands out testing ability and scope.

5- Test Suite Works with Github Actions

Linear issue tracker: ENG-263
Github Issue: #4597

1- Allow us to run integration tests against a docker compose
   deployment of bacalhau

2- Bacalhau compute/requestor configuration can be injected in the
   container before start. We do not need to rebuild it every time

3- Tests are separated into suites which allows the combination of
   similar tests together that will use the same docker compose
   deployment. Help speed up things

4- Docker compose deployment has a local registry as well as a minio
   server running. This expands out testing ability and scope.

5- Test Suite Works with Github Actions

Linear issue tracker: ENG-263
Github Issue: #4597
@jamlo
Copy link
Contributor Author

jamlo commented Oct 15, 2024

Closing For better PR wording.

@jamlo jamlo closed this Oct 15, 2024
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.

1 participant