Chromium Code Reviews
DescriptionFix a data race in multiple unit tests processes.
There is a race between TestSuite::Initialize() initializing logging
and the "test_io_thread" using assert(). This CL fixes this race by
initializing logging in the constructor of TestSuite, before any
thread is created.
See failing unit tests in this CL:
https://codereview.chromium.org/2502973002/
BUG=665945
Committed: https://crrev.com/4394a610dc161262d1ec2913d55e29727a79d25f
Cr-Commit-Position: refs/heads/master@{#432869}
Patch Set 1 #Patch Set 2 : self-review #Patch Set 3 : self-review #Patch Set 4 : self-review #Patch Set 5 : fix logger test #
Messages
Total messages: 18 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||