• guidou's avatar
    Fix races in MediaStream video constraints tests. · cf4aa356
    guidou authored
    The tests raced because each test case was changing a global flag potentially in parallel.
    Instead of having separate test cases that each set the flag, have
    separate tests objects for each value of the flag, and set the flag in the constructor to avoid races.
    
    BUG=709112
    TBR=hbos@chromium.org
    
    Review-Url: https://codereview.chromium.org/2805903002
    Cr-Commit-Position: refs/heads/master@{#462928}
    cf4aa356
media_stream_video_capturer_source.h 3.38 KB