DescriptionFix flakiness in RemoteFileSystemExtensionApiTests
We get in trouble because FileBrowserEventRouter creates gdata system service
early on (before we setup test service factory). When we create test system
service, the old one gets shutdown and destroyed, but they both use the same
gdata cache root path (which is created and destroyed async).
This patch avoid use of GDataSystemServiceFactory::SetTestingFactoryAndUse,
which cannot be called before an system service instance is already alive
(created early on by FileBroserEventRouter).
the flakiness was introduced by https://src.chromium.org/viewvc/chrome?view=rev&revision=147208
TEST=RemoteFileSystemExtensionApiTest.*
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147980
Patch Set 1 #Patch Set 2 : . #
Total comments: 4
Patch Set 3 : .. #Patch Set 4 : feedback #
Total comments: 2
Patch Set 5 : make set_cahce_root safer #Patch Set 6 : rebase #Patch Set 7 : forgot a delete #Patch Set 8 : added some comments #Patch Set 9 : . #
Messages
Total messages: 9 (0 generated)
|