Skip to content

Extract io.trino.testing.containers into a separate module#10878

Merged
sopel39 merged 1 commit intotrinodb:masterfrom
linzebing:container-module
Feb 3, 2022
Merged

Extract io.trino.testing.containers into a separate module#10878
sopel39 merged 1 commit intotrinodb:masterfrom
linzebing:container-module

Conversation

@linzebing
Copy link
Copy Markdown
Member

In the exchange spooling PR #10823, we realized that our dependency story is clearer if we extract io.trino.testing.containers into a separate module:

trino-main has a test TestDeduplicatingDirectExchangeBuffer that depends on trino-exchange, therefore trino-exchange can't depend on trino-main and trino-testing. However, we need to have a MinIO-based test utility that can be used to test S3-based spooling, which need to depend on the container io.trino.testing.containers.Minio, and this results in circular dependency. Therefore, we think it's better to extract io.trino.testing.containers into a separate module.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you please try to remove this dependency and see whether you still need the TestDummy?

Copy link
Copy Markdown
Member Author

@linzebing linzebing Feb 1, 2022

Choose a reason for hiding this comment

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

@sopel39 sopel39 merged commit 1277db3 into trinodb:master Feb 3, 2022
@github-actions github-actions bot added this to the 370 milestone Feb 3, 2022
@linzebing linzebing deleted the container-module branch February 16, 2022 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants