-
Notifications
You must be signed in to change notification settings - Fork 23
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
testutils.go always starts a new TestServer #3
Comments
@oliver006 We need that section of code to mock a test server so all tests pass. We will check if GAE allows setting up any local servers and get back to you. For the time being, you might want to skip running tests to bypass this issue. |
Sure, I understand why you need the test server but the problem is not running tests in GAE but running the http server process itself. |
@oliver006 Thanks for PR. It is now merged into the project. Let me know if you are still facing this issue. |
This section here:
https://github.com/plivo/plivo-go/blob/master/plivo/testutils.go#L21-L29
always starts a new TestServer, even in the context of a normal process.
This causes the process to fail on AppEngine as listening to a port is not allowed:
The text was updated successfully, but these errors were encountered: