Skip to content

Allow to change port for tests #87

Open

Description

@CyberTailor

When port 8080 is busy, tests fail.
https://bugs.gentoo.org/901143

Activity

  1. victormihalache commented on Nov 13, 2023

    @victormihalache

    You can use the following run method to specify a custom port:

    run(onRequest, initSettings(port=Port(2000)))

    Note that it's normal behaviour for it to fail when the port is busy, any program will fail to use a port that's being used by another program.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions