• machenbach's avatar
    [Swarming] Let test runner exit gracefully after test failures. · efcc7fb2
    machenbach authored
    The flake detection is done on the infra-side according to
    the contents of the json test results. We don't want the
    runner to fail after flakes.
    
    This was controlled on the infra side by accepting any exit
    codes so far. After the swarming switch, this is more
    difficult, because the runner is wrapped by the swarming
    collect script. There, failing exit codes can mean many
    things, including network failures. Therefore, we now
    force exit code 0 with test failures if those failures
    are reported in the formal test results json.
    
    The infrastructure will take care of reporting the flakes
    and failures accordingly.
    
    BUG=chromium:535160
    LOG=n
    
    Review URL: https://codereview.chromium.org/1416373005
    
    Cr-Commit-Position: refs/heads/master@{#31740}
    efcc7fb2
run-tests.py 28.7 KB