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

support "processes" to handle extra procs #61

Merged
merged 2 commits into from
Oct 20, 2021

Conversation

dbushong
Copy link
Member

Now you can add something like this to your .testiumrc:

{
  "processes": {
    "memcached": {
      "command": "memcached",
      "commandArgs": ["-u", "memcached", "-d"],
      "port": 11211,
      "reuseExisting": true
    }
  }
}

...and that will add a new server to the set to be started before tests run.
The properties inside the processes option are the server names, and all of the other options
are those for subprocess, except for reuseExisting.

Iff reuseExisting is set to true, and something is already listening on the given (now
mandatory) port, then the command and commandArgs will not be run.


This PR was started by: git wf pr

@dbushong dbushong force-pushed the dbushong/feature/main/memcached branch from 727fcc4 to 715be81 Compare October 20, 2021 04:30
@dbushong dbushong force-pushed the dbushong/feature/main/memcached branch from 715be81 to a9fcbc8 Compare October 20, 2021 04:43
Copy link

@erothman-groupon erothman-groupon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dbushong dbushong merged commit 139d4a1 into main Oct 20, 2021
@dbushong dbushong deleted the dbushong/feature/main/memcached branch October 20, 2021 15:22
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.

2 participants