Skip to content

Conversation

@mzitnik
Copy link
Contributor

@mzitnik mzitnik commented Aug 21, 2025

Summary

Cluster integration tests

Closes #34

Checklist

Delete items not relevant to your PR:

@mzitnik mzitnik marked this pull request as ready for review August 24, 2025 11:14
@mzitnik mzitnik changed the title Integration tests Integration tests Cluster Aug 24, 2025
@mzitnik mzitnik requested a review from BentsiLeviav August 24, 2025 11:51

public static Network getNetwork() {
if (isCloud())
return Network.newNetwork();

Choose a reason for hiding this comment

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

Here, we always create a new network for the cloud, but in public static void setUp(boolean bridge) throws InterruptedException, ExecutionException we don't. Can't we create it once there and reuse it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will try to explain.
When running against the cloud, we do not care about the network we are operating from, but when running against a container, we need to be in the same network for Flink and ClickHouse.

Choose a reason for hiding this comment

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

I understand that my question was around whether we can create it once and reuse it? (in the setUp function)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In some cases, you need to use the network that was created by the ClickHouse container, and in the cloud, it does not matter.

@mzitnik mzitnik merged commit 4076f9d into main Aug 27, 2025
118 of 124 checks passed
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.

Integration Tests - Cluster (Multi node cluster)

3 participants