Initial clear server data impl.
When we run integration tests, we need accounts with a clean slate. This CL clears out the data on sync servers for the given test account, and restarts sync. This operation doesn't require read/writing any data to the account, and thus passphrase decryption is by-passed (Some tests have the side-effect of setting a decryption passphrase that requires clear server data to be run without decryption). R=pavely@chromium.org,skym@chromium.org TEST=run this command ninja -C out/Debug sync_integration_tests -j 200 && \ xvfb-run --server-args="-screen 0 1920x1080x24" \ out/Debug/sync_integration_tests \ --gtest_also_run_disabled_tests \ --gtest_filter=*E2ETest* \ --sync-url=https://clients4.google.com/chrome-sync/dev \ --sync-user-for-test=testuser@gmail.com\ --sync-password-for-test=testpassword --vmodule=*sync*=1 BUG= Review-Url: https://codereview.chromium.org/2716413003 Cr-Commit-Position: refs/heads/master@{#456199}
Showing
Please register or sign in to comment