Fix races in MediaStream video constraints tests.
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}
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment