Skip to content

Add TCK test run with ZooKeeper discovery and Fastbin distribution provider#119

Open
amichair wants to merge 9 commits into
apache:masterfrom
amichair:zookeeper-fastbin-tck
Open

Add TCK test run with ZooKeeper discovery and Fastbin distribution provider#119
amichair wants to merge 9 commits into
apache:masterfrom
amichair:zookeeper-fastbin-tck

Conversation

@amichair
Copy link
Copy Markdown
Contributor

Includes the fixes necessary for the zookeeper discovery and fastbin providers to pass the TCK tests.

Regarding the commit fixing fastbin not shutting down properly, if you have a more elegant way of solving this please do share... (I have no previous experience with hawtdispatch).

@amichair amichair changed the title Zookeeper fastbin tck Add TCK test run with ZooKeeper discovery and Fastbin distribution provider May 25, 2026

private static final Logger LOG = LoggerFactory.getLogger(FastBinProvider.class);

static final String[] SUPPORTED_INTENTS = { "tck.test" }; // at least one intent required by TCK
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.

is exactly the value tck.test necessary? or should we use some placeholder value specific for our implementation?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No, it's a dummy value, I just picked something that's clear it's related to the tck test and obviously not a real one. If you have a better suggestion I'll change it, it doesn't really matter.

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.

maybe?

static final String[] DEFAULT_NOT_EMPTY_INTENTS = { "aries.rsa.default" };

BTW we should make the comment a javadoc

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.

2 participants