-
Notifications
You must be signed in to change notification settings - Fork 138
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
feat: config supports toggling HTTP and Stats servers on/off (#594) #600
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good from at a first glance. We need to be able to disable/enable all of them including http/ssh. We shouldn't assume people won't use them, especially since this is the default behavior right now. So let's make them enabled by default.
9df0211
to
45494f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Finally, could you add tests to check if the servers are enabled/disabled
Not exactly sure what you're looking for... |
Yes. You could use |
Ack, done. Tests got a little bit of polish as well. |
Perfect! Could you put the test changes in a separate PR so that it doesn't get mixed up with the changes here? |
This was inconsistent with the other servers.
The generic "waitforserver" has been renamed to "ensureserverrunning". This command now also takes an argument which denotes which environment variable to pick the port from. This is needed as the ports are randomized by the test.
This is useful on Windows where gcc is not always available.
…#594) To test this, tests added: `ensureservernotrunning [SERVICE_NAME]`
This changes the behavior of the stats server and git server but I assume most people don't want that by default.
The ssh/http servers are most likely the primary ones?