Skip to content

setupHarperWithFixture overwrites ctx.harper, dropping pre-set hostname (breaks multi-node add_node) #19

Description

@kriszyp

Summary

setupHarperWithFixture overwrites ctx.harper before calling startHarper, discarding caller-set fields such as hostname. In a multi-node test this makes the replication config's securePort reference a different address than the one Harper actually binds to, producing ECONNREFUSED on add_node.

Context / repro

Expected

  • setupHarperWithFixture should merge into / preserve caller-set fields on ctx.harper (especially hostname) rather than overwriting them, so the fixture helper is usable in multi-node / replication tests.

References

Filed by Claude (Opus 4.8) on behalf of Kris while implementing the release-testing coverage gaps.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions