Skip to content

Fix build: MultiNodeSubscriptionTrackingTests uses the renamed TryAdoptEndpoint - #3376

Merged
mgravell merged 1 commit into
mainfrom
marc/multinode-test-tryadopt
Nov 23, 2026
Merged

mgravell merged 1 commit into
mainfrom
marc/multinode-test-tryadopt

Conversation

@mgravell

Copy link
Copy Markdown
Member

main does not compile: #3374 added MultiNodeSubscriptionTrackingTests, which calls Subscription.AddEndpoint, and #3353 renamed that method to TryAdoptEndpoint. Each PR was green on its own and they merged without a textual conflict, but the test project fails with CS1061 once both are in.

One-line fix in the test: call TryAdoptEndpoint (asserting it returns true, which it always does for a multi-node subscription).

Verified locally on net10.0: the test project builds, and the in-process pub/sub, subscription, Sentinel, maintenance and topology tests pass (545 passed, 0 failed, three runs).

…ptEndpoint

#3374 added a test calling Subscription.AddEndpoint; #3353 renamed that to
TryAdoptEndpoint. Each was green alone and they merged without a textual
conflict, but main does not compile with both.
@mgravell
mgravell merged commit 2d75750 into main Nov 23, 2026
4 checks passed
@mgravell
mgravell deleted the marc/multinode-test-tryadopt branch November 23, 2026 16:32
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