DescriptionFix 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}
Committed: https://chromium.googlesource.com/chromium/src/+/cf4aa356378e931692ed10abbe78d2fddbca60b2
Patch Set 1 #
Messages
Total messages: 12 (9 generated)
|