Skip to content

MultiServerConnectionFactory does not use the provided initialConnection for the first call #3094

Closed
@ScottDugas

Description

@ScottDugas

Building on the work here: #3083
I tried to change MultiServerConnectionFactoryTest so that it returns a mock statement, and assert about the statements that it returns, rather than asserting about the counters being used.

When I did this I added an assertion that the first statement comes from the initialConnection, and that failed.
I think it ends up incrementing weirdly.
I tried to get it to work, but kept failing.

Also, of note, the alternating may be confusing in the case where you have a variety of different calls to continuations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions