Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpctest: integration test harness fixes #2071

Merged
merged 5 commits into from
Dec 22, 2023

Commits on Dec 21, 2023

  1. rpctest: fix formatting

    guggero committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    6e7680a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    323cf1e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d33ac28 View commit details
    Browse the repository at this point in the history
  4. rpctest: make test TCP ports unique per process

    This commit adds a new NextAvailablePortForProcess function that takes a
    process ID and then assures unique (non-occupied) port numbers are
    returned per process.
    This uses a temporary file that contains the latest used port and a
    secondary temporary lock file to assure only a single goroutine can
    request a new port at a time.
    
    The GenerateProcessUniqueListenerAddresses is intened to be used as a
    package-level override for the ListenAddressGenerator variable. We don't
    use it by default to make sure we don't break any existing assumptions.
    guggero committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    dd5f3bd View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Configuration menu
    Copy the full SHA
    7644d14 View commit details
    Browse the repository at this point in the history