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 defining HOSTALIASES for tested app #57

Open
mihails-strasuns opened this issue Sep 4, 2018 · 0 comments
Open

Support defining HOSTALIASES for tested app #57

mihails-strasuns opened this issue Sep 4, 2018 · 0 comments

Comments

@mihails-strasuns
Copy link

Useful when using turtle mocks of network services (like HTTP server).

http://man7.org/linux/man-pages/man3/gethostbyname.3.html allows providing custom hosts file for a specific process by setting HOSTALIASES environment variable. Turtle should allow configuring bunch of hosts entries and call tested app with this env var set if there any hosts to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant