Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

test,win: speedup tls-server-verify #25368

Closed
wants to merge 7 commits into from
Closed

test,win: speedup tls-server-verify #25368

wants to merge 7 commits into from

Commits on Jun 1, 2015

  1. test: running tls-server-verify clients in parallel

    OpenSSL s_client introduces some delay on Windows. With all clients
    running sequentially, this delay is big enough to break CI. This fix runs
    the clients in parallel (unless the test includes renegotiation),
    reducing the total run time.
    joaocgreis committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    9131996 View commit details
    Browse the repository at this point in the history
  2. test: run tls-server-verify servers in parallel

    Different servers must use different ports. Since we can count only on
    common.PORT and common.PORT+1, run only 2 servers in parallel.
    joaocgreis committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    28a6a19 View commit details
    Browse the repository at this point in the history
  3. test: improve console output of tls-server-verify

    When running in parallel, it is not easy to identify what server and
    client failed when the test fails. This adds identifiers to all lines
    of console output.
    joaocgreis committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    7e1a291 View commit details
    Browse the repository at this point in the history
  4. test,win: re-enable tls-server-verify in CI

    Now that the test is fixed, node-accept-pull-request should
    fail when the test fails.
    orangemocha authored and joaocgreis committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    d2f778c View commit details
    Browse the repository at this point in the history
  5. test: kill child in tls-server-verify for speed up

    For better performance of the test, the parent kills child processes
    so as not to wait them to be ended.
    
    (cherry picked from commit 833b236)
    Shigeki Ohtsu authored and joaocgreis committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    b5ee2f5 View commit details
    Browse the repository at this point in the history
  6. deps: add -no_rand_screen to openssl s_client

    In openssl s_client on Windows, RAND_screen() is invoked to initialize
    random state but it takes several seconds in each connection.
    This added -no_rand_screen to openssl s_client on Windows to skip
    RAND_screen() and gets a better performance in the unit test of
    test-tls-server-verify.
    Do not enable this except to use in the unit test.
    
    (cherry picked from commit 9f0f7c3)
    Shigeki Ohtsu authored and joaocgreis committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    454d185 View commit details
    Browse the repository at this point in the history
  7. test: add -no_rand_screen for tls-server-verify

    This improves the performance of openssl s_client on Windows and
    gains several seconds to finish test-tls-server-verify.
    
    (cherry picked from commit 2ff517e)
    Shigeki Ohtsu authored and joaocgreis committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    c9718a4 View commit details
    Browse the repository at this point in the history