You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature could benefit virtually any virtual testing environment (from load testing to E2E testing), primarily if the remote host is behind the proxy and does not support transparent TCP proxying to the host. Services such as Cloudflare provide transparent TCP proxying, but that can come at the cost of a big buck. Therefore we would like to have an opportunity to remap some hosts during the building process and drop silly workarounds like semi-manual modification of hosts file. Moreover, this feature is an old citizen of the legacy builder.
It turned out that we cannot modify the hosts file during build time because it is mounted in read-only mode. The last resort is well-designed software that allows the hosts to be overridden, such as cypress (E2E) and k6 (load testing).
Activity
johnbizokk commentedon Jan 27, 2022
This feature could benefit virtually any virtual testing environment (from load testing to E2E testing), primarily if the remote host is behind the proxy and does not support transparent TCP proxying to the host. Services such as Cloudflare provide transparent TCP proxying, but that can come at the cost of a big buck. Therefore we would like to have an opportunity to remap some hosts during the building process and drop silly workarounds like semi-manual modification of hosts file. Moreover, this feature is an old citizen of the legacy builder.
johnbizokk commentedon Jan 27, 2022
It turned out that we cannot modify the hosts file during build time because it is mounted in read-only mode. The last resort is well-designed software that allows the hosts to be overridden, such as cypress (E2E) and k6 (load testing).