Fix 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 Review URL: https://chromiumcodereview.appspot.com/10805034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147980 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment