Fix SingleClientDirectorySyncTest on TSan

The test was disabled due to a data race related to the global
FeatureList instance. The problem was that the test body instantiated a
ScopedFeatureList, which overrides the global instance. That gets reset
after the test body; however, the feature list might still be queried
from the Sync thread after that.

In this case, it turned out that setting the feature is simply not
required for the test; it passes both with and without the feature.

Bug: 915219, 856179
Change-Id: If02b4aa3d3fbd7091038bf47cf8745a95ed8cbc1
Reviewed-on: https://chromium-review.googlesource.com/c/1401043
Reviewed-by: Mikel Astiz <mastiz@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#620769}
1 file changed