• Sergey Ulanov's avatar
    [Fuchsia] Add layout_test_proxy · 7de8580b
    Sergey Ulanov authored
    When running layout tests on Fuchsia the test runner and content_shell
    will run on separate machines. The tests still expect to be loaded from
    localhost, so HTTP connections need to be proxied from the Fuchsia
    to the host that runs http server. Potentially this can be done with
    SSH, but TCP forwarding is broken in sshd on Fuchsia at the moment
    due to select() limitations (see ZX-1555).
    
    This CL adds a new executable that will be used proxy connections for
    layout tests. The implementation is based on the socket proxy
    that's currently used to proxy test_server connections in
    net_unittests. That code is also being moved from
    net/test/spawned_test_server to net/test.
    
    
    Bug: 778467
    Change-Id: I9c86cf5f27cbfd01b0c475ec242c6262bf7c6b57
    Reviewed-on: https://chromium-review.googlesource.com/858289
    Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
    Reviewed-by: default avatarWez <wez@chromium.org>
    Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
    Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#530587}
    7de8580b
layout_test_proxy.cc 2.5 KB